URL shortener running on Node.js with PostgreSQL as a storage solution. Sequelize is used as ORM tool.
- Pull the repo.
- Execute
npm i. - Install PostrgeSQL on your machine. Restart the system if needed.
- Rename
.env.examplefile to.envand fill it with valid PostgreSQL credentials. - Run
npm run migrateto create a table in PostgreSQL. - Start the app by running
npm run start. - Open
localhost:[PORT from .env file]and enjoy!