This API will provide a way to administer a school database containing information about users and courses. Users can interact with the database to create new courses, retrieve information on existing courses, and update or delete existing courses. To make changes to the database, users will be required to log in so the API will also allow users to create a new account or retrieve information on an existing account.
- Clone the repository
- Run
npm installto install dependencies - Run
npm run seedto create a database - Run
npm startto start the server
The server will run in http://localhost:5000/
- You should be familiar with Postman because I've used it for this project. If you haven't already, download and install Postman now.
- The Starter Files for the project include a Postman Collection that can be used to test your application. Open Postman and import the
RESTAPI.postman_collection.jsonfile. - Start your application and then use the requests in the collection to test your project.
- Another option for testing your application is to use the REST Client package. Once you have installed that package as a dependency, you can test the app using the tests.http file.