Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rafaelmoraes003/talker-manager

Application for registration of talkers (speakers) in which it will be possible to register, view, search, edit and delete information.
https://github.com/rafaelmoraes003/talker-manager

express http javascript node nodejs

Last synced: 1 day ago
JSON representation

Application for registration of talkers (speakers) in which it will be possible to register, view, search, edit and delete information.

Awesome Lists containing this project

README

        

Talker Manager

###

Talker Manager Project, which sought to build an application for registration of talkers (speakers) in which it is possible to register, view, search, edit and delete information. For this, an API was developed for a CRUD (Create, Read, Update and Delete) of speakers (talkers) and endpoints with ExpressJS that read and write in a file using the fs module of Node.js.

###

Technologies used

###


javascript logo
nodejs logo
express logo

###

How to use the application

###

Clone the application using the `git clone` command. After that, enter the project folder using the `cd talker-manager` command and run the `npm install` command. After installation, use the `npm start` command and enter port `3000` in your browser.

###

Endpoints

###

Talker

| Method | Functionality | URL |
|---|---|---|
| `GET` | List all talkers | http://localhost:3001/talker |
| `GET` | List a talker whose name includes the query string | http://localhost:3001/talker?q |
| `GET` | List a talker based on its id | http://localhost:3001/talker/:id |
| `POST` | Create a new talker | http://localhost:3001/talker |
| `DELETE` | Delete a talker based on its id | http://localhost:3001/talker/:id |
| `PUT` | Update the informations about a talker based on its id | http://localhost:3001/talker/:id |

###

Login

| Method | Functionality | URL |
|---|---|---|
| `POST` | Login and return an authentication token | http://localhost:3001/login |

Requires an object in the following format:

```JavaScript
{
email: "[email protected]",
password: 123456
}
```