This is a node application built with Express and Postgres.
This project was originally built while with Alchemy in Portland, Oregon in 2022.
I have since updated it to include JavaScript es-module syntax with designs on moving it to TypeScript soon.
The application uses Express to create a server and Postgres to create a database.
It includes the functionality to Create Read Update and Delete books from the database and includes authorization and authentication for tracking users.
Command | Description |
---|---|
npm start |
Starts the app - should only be used in production as changes will not get reloaded |
npm run start:watch |
Runs the app using nodemon which watches for changes and reloads the app |
npm test |
Runs the tests once |
npm run test:watch |
Continually watches and runs the tests when files are updated |
npm run setup-db |
Sets up the database locally |
/books
GET
Gets a list of books/books/:id
GET
Gets a particular book/authors
GET
Gets a list of authors/authors/:id
DELETE
Deletes a particular author/users/sessions
POST
Creates a user
- JavaScript
- Express
- Babel
- Node
- Postgres
- Postman
- Jest
- Nodemon
- ESLint
- Prettier
- GitHub Actions
Thanks to Julie Nisbet, whose guidance was invaluable.
I can be messaged through LinkedIn by clicking on the badge above or by emailing me at [email protected].