Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arielspencer/api-bookstore-node-express
📚 API Bookstore é uma aplicação backend em Node.js e Express para gerenciar catálogos de livros.
https://github.com/arielspencer/api-bookstore-node-express
api backend crud express javascript mongodb mongoose node-js restful
Last synced: 22 days ago
JSON representation
📚 API Bookstore é uma aplicação backend em Node.js e Express para gerenciar catálogos de livros.
- Host: GitHub
- URL: https://github.com/arielspencer/api-bookstore-node-express
- Owner: ArielSpencer
- License: mit
- Created: 2024-09-13T02:15:22.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-28T01:33:26.000Z (4 months ago)
- Last Synced: 2024-12-26T07:43:33.604Z (22 days ago)
- Topics: api, backend, crud, express, javascript, mongodb, mongoose, node-js, restful
- Language: JavaScript
- Homepage:
- Size: 98.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Static Badge](https://img.shields.io/badge/Ariel%20Spencer-API%20Bookstore-%238B37DB)
![GitHub License](https://img.shields.io/github/license/ArielSpencer/api-bookstore-node-express) ![GitHub User's stars](https://img.shields.io/github/stars/ArielSpencer)# API Bookstore
## Description
A simple RESTful API for a bookstore built with Node.js and Express. This project serves as a backend for managing books, authors, and related operations.
## Features
- Create, read, update, and delete books
- Manage authors
- Connects to a MongoDB database## Technologies Used
- Node.js
- Express
- MongoDB
- Mongoose## Getting Started
### Prerequisites
- Node.js
- npm
- MongoDB### Installation
1. **Clone the repository:**
`git clone https://github.com/ArielSpencer/api-bookstore-node-express.git`2. **Navigate to the project directory:**
`cd api-bookstore-node-express`3. **Install the dependencies:**
`npm install`4. **Set up your environment variables.** Create a `.env` file in the root directory and add:
`DB_CONNECTION_STRING=your_mongodb_connection_string`### Running the Project
To start the server, use:
`npm run dev`The server will run on `http://localhost:3000`.
## Author
Ariel Spencer - [GitHub](https://github.com/ArielSpencer) | [LinkedIn](https://www.linkedin.com/in/arielspencer-log/) | [Portfolio](https://arielspencer.com.br)