Before running commands follow Creating certificates
to create https certificates
Runs the app in the development mode. Open https://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
Inorder to start the project you will need to create valid https certificates and make them trusted in certificate trust store
- Install Chocolatey
- Run
choco install mkcert
once it's installed. mkcert - Create a .cert folder in this project root and navigate from CMD and run
mkcert -install
- Now you should get prompt Root Certificate was successfully installed.
- within .cert folder execute
mkcert localhost 127.0.0.1 ::1
. - Two files should be created as *.pem and *-key.pem. Rename them as cert.pem and key.pem respectively.
- Now the certificates should be correctly created.