An URL shortening service written in express
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- NodeJS
- Node Packet Manager(NPM)
- Git
- PostgreSQL
A step by step series of examples that tell you have to get a development environment running
- Download ZIP file or clone the repository to create your own copy.
git clone https://github.com/coding-blocks/shortlr
- Move to the shortlr repository
cd ./shortlr
- Install all project dependency packages via NPM
npm install
- Set up PostgreSQL
-
If you don't have PostgreSQL setup on you machine you can download it from here.
-
After Installation is complete create a new PostgreSQL user shorturl with password as shorturl.
-
Create a new database in PostgreSQL server with name shorturl.
- Start the server.
npm start
And see it working on http://localhost:4000/admin
heroku create
git push heroku master
heroku open
Alternatively, you can deploy your own copy of the app using this button:
- Arnav Gupta -- championswimmer
See also the list of contributors who are participating in this project.