Teachers need a system where they can perform administrative functions for their students. Teachers and students are identified by their email addresses. Develop a set of API endpoints, for teachers to perform administrative functions for their classes.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. The database is hosted at https://remotemysql.com.
- node (https://nodejs.org/en/)
- npm (https://www.npmjs.com/get-npm)
$ npm install
- Select a database and execute the .sql file resides at this location (https://github.com/firsttimett/nodejs-assignment/blob/master/sql/nodejs_api_db_20190728.sql)
- Change the db connection details at .env file at this location (https://github.com/firsttimett/nodejs-assignment/blob/master/.env)
$ npm run start
$ npm run test