Back-end for Nailed it, a nail polish management solution.
Nailed It is a web browser application with which you can manage your nail polish collection.
- Clone this repository
- Install all dependencies
npm i
- Create a PostgreSQL database with whatever name you want
- Configure the
.env.development
file using the.env.example
file (see "Running application locally or inside docker section" for details) - Run all migrations
npm run migration:run
- Seed db
npm run dev:seed
- Run the back-end in a development environment:
npm run dev
- Follow the steps in the last section
- Configure the
.env.test
file using the.env.example
file (see "Running application locally or inside docker" section for details) - Run all migrations
npm run migration:run
- Run test: (locally)
npm run test