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

https://github.com/jefferson1104/pureapi-nodejs

A pure API without the use of framewokrs such as expressJS, nestJS and etc... just an api with nodeJS native functions.
https://github.com/jefferson1104/pureapi-nodejs

javascript node rest-api

Last synced: 3 months ago
JSON representation

A pure API without the use of framewokrs such as expressJS, nestJS and etc... just an api with nodeJS native functions.

Awesome Lists containing this project

README

        


Node.js API without frameworks







Javascript
Node


# About this project
This API was built with Node.js without the use of frameworks, an app with native javascript functionality.

# Structure
- **database**: location where our files that will simulate a database are kept.
- **src**: location where all the application's source code is.
- **src/entities**: location where the application's entities will be kept, to validate data.
- **src/repostiries**: location where you access database data.
- **src/services**: place where all the logic and business rules of the application are located.
- **src/factories**: to generate instances with dependency injection pattern and so on.
- **testscript**: File to test the api routes.

# How to run this project
```bash
# Clone this repository
$ git clone https://github.com/jefferson1104/pureAPI-nodejs.git

# Access project directory
$ cd diretoriodoprojeto
$ code .

# Install all dependencies
$ yarn

# Run application
$ yarn start

# Test the application, open a new terminal next to the project's root directory and run
$ sh script.sh
```
> #### CONTENT CREATION AND EXPLANATION GUIDE:
> https://www.youtube.com/watch?v=NxHY14rMPvc&ab_channel=ErickWendel