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

https://github.com/mateofiorotto/api_rest_mongo_express


https://github.com/mateofiorotto/api_rest_mongo_express

crud docker express javascript js json mongo mongoose node nodejs npm sergiecode

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# WEB SERVER WITH NODE AND EXPRESS

## ENG
---
This project is part of a course I took from the [SergieCode](https://www.youtube.com/watch?v=I17ln313Pjk&t=10479s) channel. It is a REST API built with Node, Express, Mongo, Mongoose, and Docker. It contains a basic CRUD about video games.

Test in https://apirestmongoexpress-production.up.railway.app/videogames with Postman (GET, POST, PUT, PATCH, DELETE).
---
### HOW TO USE IT?
1. Clone the repository with `git clone`
2. Open the project in your preferred IDE or code editor
3. Install the required packages and modules with `npm install`
4. Define your environment variables using the .env template (PORT 3000 RECOMMENDED AND PUBLIC FOLDER)
5. Open Docker Desktop and run the following command in the terminal (with the project folder selected): `docker compose up -d`
6. Run the server with `npm run dev`
---
### REQUIREMENTS
1. **NODE**
2. **GIT**
3. **DOCKER**

---

## ESP
---
Este proyecto es parte de un curso que hice del canal de [SergieCode](https://www.youtube.com/watch?v=I17ln313Pjk&t=10479s). Es una API Rest hecha con Node, Express, Mongo, Mongoose y Docker. Contiene un CRUD básico acerca de videojuegos.

Probalo en https://apirestmongoexpress-production.up.railway.app/videogames con Postman (GET, POST, PUT, PATCH, DELETE).
---
### ¿COMO USARLO?
1. Clona el repositorio con `git clone`
2. Abrir el proyecto en tu IDE o editor de codigo de preferencia
3. Instala los paquetes y modulos requeridos con `npm install`
4. Define tus variables de entorno con la plantilla .env. (PORT 3000 RECOMENDADO Y CARPETA PUBLIC)
5. Abri docker Desktop y ejecuta en la terminal (con la carpeta del proyecto seleccionada) `docker compose up -d`
5. Ejecuta el servidor con `npm run dev`
---
### REQUERIMIENTOS
1. **NODE**
2. **GIT**
3. **DOCKER**