Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/97-jeffrey/tinyapp

This app allow user to enter an URL and convert it to shorter URL which point to the same address. :innocent: :arrow_right: :smiling_imp:
https://github.com/97-jeffrey/tinyapp

bootstrap ejs express

Last synced: about 8 hours ago
JSON representation

This app allow user to enter an URL and convert it to shorter URL which point to the same address. :innocent: :arrow_right: :smiling_imp:

Awesome Lists containing this project

README

        

# TinyApp Project

TinyApp is a full stack web application built with Node and Express that allows users to shorten long URLs (à la bit.ly).

## Final Product

Entered Long URL with shortened version:
!["urls"](https://github.com/97-Jeffrey/tinyapp/blob/master/doc/Screen%20Shot%202021-02-07%20at%208.58.20%20PM.png?raw=true)

Every Created URL could be edited:
!["edit](https://github.com/97-Jeffrey/tinyapp/blob/master/doc/Screen%20Shot%202021-02-07%20at%209.00.18%20PM.png?raw=true)

### Some Code Snippets:

!["The beginning state"](https://github.com/97-Jeffrey/tinyapp/blob/master/doc/Screen%20Shot%202020-08-06%20at%208.58.34%20PM.png?raw=true)
!["Numerous GET and Post"](https://github.com/97-Jeffrey/tinyapp/blob/master/doc/Screen%20Shot%202020-08-06%20at%209.02.33%20PM.png?raw=true)
!["One of rendered html pages"](https://github.com/97-Jeffrey/tinyapp/blob/master/doc/Screen%20Shot%202020-08-06%20at%209.03.56%20PM.png?raw=true)

## Dependencies

- Node.js
- Express
- EJS
- bcrypt
- body-parser
- cookie-session

## Getting Started

- Install all dependencies (using the `npm install` command)

```
install express: npm install express;

install ejs: npm install ejs

install bcrypt: npm install -E [email protected](recommended)

install body-parser : npm install body-parser

install cookie session: npm install cookie-session
```

- Run the development web server using the `node express_server.js` command.
- after Nodemon is installed, type `npm start` to run