Administration console to help a online study platform manage students, courses and enrollments.
To run this application you'll need install:
- Please clone our application running the following command on a terminal:
git clone https://github.com/ga0125/plataforma_cursou.git
- Install the server:
cd plataforma_cursou/backend/
npm install
- Install the SPA application:
cd ..
cd plataforma_cursou/frontend/
npm install
- Before to execute the commands below, rename the example.env to .env on the both projects folders:
# Renaming backend .env file
mv plataforma_cursou/backend/example.env plataforma_cursou/backend/.env
# Renaming frontend .env file
mv plataforma_cursou/frontend/example.env plataforma_cursou/frontend/.env
- To execute the backend, follow this command line:
cd plataforma_cursou/backend/
make up #It will run on port 3838 as default
- To execute the SPA application, follow this command line:
cd ..
cd plataforma_cursou/frontend/
npm start #It will run on port 3000 as default
- After run the SPA application, you can access by Web application.
2. To have a clear idea and test the endpoints, you can use the Insomnia app to have a look:
-
Add the environment on the Insomnia app:
{ "server_url": "http://localhost:3838" }
-
Import the JSON data to the Insomnia app:
- Get the data on:
cd plataforma_cursou/backend/endpoints_docs/insomnia/insomnia_endpoints_data.json
- Get the data on:
- Add unit/integration tests (Jest, enzyme);
- Create the Home page to show each created enrollment;
- Improve the control on data management (with DELETE / UPDATE option);
- Add validation parameters on the backend (for request parameters);
- Implement system cache control to optimize the application (Redis on the backend and useMemo - hooks for SPA);
I hope you enjoy the Repo Organizer, and regardless of the completion of this test, I appreciate the opportunity where I could learn even more.