Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielbprado/api-programming-course

This API allows user registration and their association with different scenarios. It utilizes Node.js, Express, and SQLite to provide robust functionalities.
https://github.com/gabrielbprado/api-programming-course

crud javascript nodejs

Last synced: about 2 months ago
JSON representation

This API allows user registration and their association with different scenarios. It utilizes Node.js, Express, and SQLite to provide robust functionalities.

Awesome Lists containing this project

README

        

# Node.js and SQLite Web API for User and Tables Management

This API allows user registration and their association with different scenarios. It utilizes Node.js, Express, and SQLite to provide robust functionalities.

## Data Model

![Data Model](./Assets/entidades.png)

# How to Use

1. **Install project dependencies:**
```bash
npm install

2. **Start to Server:**
```node server.js```

3. Access the API at http://localhost:3000

# Available Routes

- `POST /people`: Create a new user.
- `GET /people/:id`: Get details of a specific user.
- `POST /course`: Create a new course.
- `GET /course/:id`: Get details of a specific course.
# Exemplo de Requisição para Criar um Novo Usuário

```json
{
"name": "Dine Docente",
"cpf": "80941142078",
"ativo": true,
"role": "docente"
},