Using ReactJS to create a simple e-learning platform
- Clone repo
- cd afrilearn-webapp
- Run
npm install
- Run
./node_modules/.bin/json-server-auth ./backend/db.json --port 3001
to start the backend server - Run
npm start
to start the Create React App dev server - Visit http://localhost:3000/
- Visit http://localhost:3001/users to see the user records in json
- Visit http://localhost:3001/courses to see the course records in json
- Log in with either
[email protected]
or[email protected]
and the passwordpassword
.