Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)