docker-compose up -d
- URL:
http://localhost:5050
- Username: [email protected] (as a default)
- Password: admin (as a default)
- Host name/address
postgres
- Port
5432
- Username as
POSTGRES_USER
, by default:postgres
- Password as
POSTGRES_PASSWORD
, by defaultpostgres
Following command will run yarn install
on both nestjs api and react client app and generate env files.
yarn install
yarn setup
yarn migration:run
To generate two default users - admin and regular user.
yarn seed
yarn start
*** If you are using Linux/MacOS, update "npm start" script inside /app/package.json ***
(From)
"start": "set PORT=3001 && react-scripts start",
(To)
"start": "PORT=3001 react-scripts start",
NestJS api is running at http://localhost:3000 and React client app is running at http://localhost:3001
There are 6 test users. All users' password is password
Admin User
username: admin
Regular User
username: user1
username: user2
username: user3
username: user4
username: user5