Coder Social home page Coder Social logo

vivian5668 / asciimage Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 21.63 MB

A responsive, full-stack application that allows users to transform a picture to ASCII (characters, symbols, etc.) that resembles the design and color of the original picture using an API. Tech Stacks: Node.js, Express.js, PostgreSQL, jQuery

License: Other

Shell 25.03% Perl 5.37% JavaScript 34.54% HTML 31.61% CSS 3.46%

asciimage's Introduction

ASCIImage

- Convert Your Image to ASCII

readme_pic

Introduction

Looking for a modern way to re-create images? Try ASCIIamge! Simply upload a picture, and you will get back the ASCII image in text format. Try it here.

Supported Browsers

  • Chrome Version 63.0 and higher

  • Firefox Version 58.0 and higher

Wireframes

Web Version

For the best user experience, the web version uses a consistent centered layout with a navigation bar on the top. The navigation bar is dynamic based on if there is a user currently logged in.

  • Main page

  • Image upload page

  • Gallery page

Mobile Version

The mobile version resembles the web version mostly with minor modification to fit contents on smaller screens. The navigation bar collapses and slides out from the left of the screen once you click on the hamburger icon. The gallery page also changes column layout on mobile version.

Routes

Verb Path Action Usage
GET / index Homepage
GET /auth/signup new Display form to create a new profile
POST /auth/signup create Create user account
GET /auth/login show Display form to enter login info
POST /auth/login show Authenticates user login info
GET /auth/logout index Logs user out of the application
GET /gallery show Display the gallery page
GET /instructions show Display instructions for this app
GET /profile redirect Display the user's projects if user is logged in
GET /projects index Show all user's projects
GET /projects/new show Display form to allow the user to create a new project
POST /projects/new create Create a new project
GET /projects/:id show Display the project identified by project_id
GET /projects/:id/edit show Display the form that allows the user to modify project information
PUT /projects/:id update Change project information
DELETE /projects/:id/destroy delete Delete a project

Models & Sample Data

id name email password
2 Happy [email protected] $2a$10$Cnu/3QHw2WCaMo4xTfq5K.MTL9W2N4PDlA9t/0UOrj6I3A8c9GD7a
id project_name description cloudinary_url ascii_url userId
1 Sydney Colors School Project http://res.cloudinary.com/dxc.. djiendjncjd... 2

Technology / Library Used

  • Javascript

  • jQuery

  • Materialize CSS

  • Sequelize

  • Node.js

  • Relational databse

Next Steps

  • Add a loading page for long API calls

  • Allow users to login user Facebook / Github / Google login, etc.

Resources

  • Google GIF / image search

  • Materialize CSS documentation

  • Firestack API Transforms images to ASCII

  • Cloudinary API Stores and manages images on the cloud

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.