Web Application to make cours on SAFe system with MERN stack
Go to backend and frontend/safedotcom folders and execute : npm install
For the back-end, you need to change the database, create a database on MongoDB Atlas and put the DB connection string in backend/.env. Check on the website of MongoDB that your IP address is authorized.
To start the backend, go to ./backend and execute : npm run start
Now, you have logs in the terminal and the API listen http://localhost:4000
To start frontend, go to ./frontend/safedotcom and execute : npm run start
Now, you can go on your navigator and found web application here: http://localhost:3000
When the backend is running, go to : http://localhost:4000/api-docs/
After changing of routes and completting the commentaries, before restart the backend, execute : npm run swagger-autogen
No documentation available
-
On the safedotcom folder use the command :
npm run build -
Go to backend folder and use the command :
npm run start(you only need to start the backend because it exposed the build folder of the frontend) -
In the Browser go to https://safe.loca.lt
-
Enter the password (ip address of the host => https://loca.lt/mytunnelpassword )
-
Enjoy the website !