- setup postgres & nestjs
- Create .env and update the variables.
- Run the server
npm start
- signup to the app!
# Example:
curl --location 'localhost:4000/auth/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstName": "Company",
"lastName": "Chisel",
"email": "company@chisel.com",
"password": "chi#sel@company121"
}'
- Use the
auth_token
in client to make api calls.
- Create .env file and update the variables
- Run the app!
npm start
# src/.env
REACT_APP_SERVER_BASE_URL=
REACT_APP_AUTH_TOKEN=
# src/.env
DB_HOST=
DB_PORT=
DB_USER=
DB_PASSWORD=
DB_DIALECT=
DB_NAME=
JWT_SECRET=
HASH_SALT=
PORT=