- Node.js LTS
- npm / yarn
- Docker
- mkcert
- Install the dependencies in both
web
&api
folder by running following command
yarn
#or
npm install
- Make a
.env
file and set the environment variables for the project (Refer.env.example
) - Start Docker if not already running. Then run
docker-compose up
in your terminal to start the development server
Note: Dont forget to specify environment variables in .env else you may face errors
This is where mkcert
comes into the picture. Follow the steps given below:
- Install
mkcert
in your system manually - Run below given commands in your terminal
mkcert -install
- Make a folder named
certs
insideconfig
and run the following command inside thecerts
directory
mkcert -cert-file myapp-cert.crt -key-file myapp-key.pem
Note: If you dont want to sign TLS Certificate. Set your PROXY as http in .env file to avoid any errors
Ashwin Khode
Feel free to connect on Twitter