- After cloning the repo open the folder in the terminal and run the following command to install all packages
- Rename
.env.example to .env
- Open psql terminal.
- Create user
CREATE USER fwd WITH PASSWORD 'fwd' SUPERUSER;
CREATE DATABASE store OWNER fwd ENCODING UTF8;
CREATE DATABASE store_test OWNER fwd ENCODING UTF8;
- The database is running on host
localhost and port 5432
- The server is running on port
3000
- Bcrypt paper is
secret and rounds = 8
- JWT secret =
JWTSECRET
- Build the project from
TypeScript to JavaScript and save it to /build
- Starting the final build of the project
- Running the
TypeScript server in development with nodemon
- Getting linting errors using
eslint
- Fixing linting errors using
eslint
- Formatting the project using
prettier
- Run migrations of the database
- Building the project and testing the specs on a test database