cd backend-fastify/
- copy
.env.example
& re-name it to.env
- set your desired variable value
PORT=8000
LOGGER=true
SALT=12
SECRET_KEY='secret'
DB_CONNECT=mongodb://localhost:27017/rem-db
In terminal - command
# navigate to backend-fastify
$ cd backend-fastify
# install dependencies
$ npm install
# start server
$ npm start `or` $ npm run dev
- Make sure
.env
is configured & dependencies are installed - Will populate database with dummy data.
$ npm run db:seeder
dummy user:
fullName: "test tester",
email: "test@email.com",
password: "password"
You can use this to signin.
/docs/
/users/
/auth/
/properties/
/enquiries/