Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adam-robson/bookshoppe
This repository consists of an improvised list of real-life books written by real-life authors. Mostly very old authors. It was built using Express and PostgreSQL.
https://github.com/adam-robson/bookshoppe
beekeeper jest nodejs nodemon pg postgresql sql vscode
Last synced: 23 days ago
JSON representation
This repository consists of an improvised list of real-life books written by real-life authors. Mostly very old authors. It was built using Express and PostgreSQL.
- Host: GitHub
- URL: https://github.com/adam-robson/bookshoppe
- Owner: Adam-Robson
- Created: 2022-11-10T08:08:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-05T11:19:58.000Z (3 months ago)
- Last Synced: 2024-10-28T11:36:18.437Z (2 months ago)
- Topics: beekeeper, jest, nodejs, nodemon, pg, postgresql, sql, vscode
- Language: JavaScript
- Homepage:
- Size: 309 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express Book Shoppe
[![portfolio](https://img.shields.io/badge/my_portfolio-000?style=for-the-badge&logo=ko-fi&logoColor=white)](https://adamrobson.vercel.app/)
[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/adamrayrobson)This is a backend application built with [Express](https://expressjs.com/) and [Postgres](https://www.postgresql.org/).
## Table of Contents
- [Express-Book-Shoppe](#express-book-shoppe)
- [Table of Contents](#table-of-contents)
- [General Information](#general-information)
- [Features](#features)
- [Run Locally](#run-locally)
- [Routes](#routes)
- [Technologies Used](#technologies-used)
- [Authors](#authors)
- [Acknowledgements](#acknowledgements)
- [Contact](#contact)## General Information
This project was built as part of my time in the July 2022 cohort at Alchemy Code Lab in Portland, Oregon.
## Features
This backend 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.
## Run Locally
| 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 |
| `npm run setup-heroku` | Sets up the database on Heroku |## Routes
- `/books` `GET` Gets a list of books
- `/books/:id` `PUT` Gets a particular book
- `/authors` `GET` Gets a list of authors
- `/authors/:id` `DELETE` Gets a particular author## Technologies Used
- JavaScript
- Express
- Babel
- Node
- Postgres
- Postman
- Jest
- Nodemon
- ESLint
- Prettier
- GitHub Actions## Authors
> [@Adam-Robson](https://www.github.com/Adam-Robson)
## Acknowledgements
Thanks to Alchemy Code Lab and instructor [Julie Nisbet](https://www.github.com/julienisbet), who created the template for the project and was crucial in debugging along the way!
## Contact
Feel free to reach out! I can be messaged through LinkedIn by clicking on the badge above or by emailing me at [email protected].