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

https://github.com/4lessandrodev/rest-api-instagram

NodeJS, Express, JWT, Dotenv, mySQL, CryptoJS, Sequelize, Bcrypt, Javascript, Multer, Express-brute, Helmet, Cors
https://github.com/4lessandrodev/rest-api-instagram

Last synced: 8 months ago
JSON representation

NodeJS, Express, JWT, Dotenv, mySQL, CryptoJS, Sequelize, Bcrypt, Javascript, Multer, Express-brute, Helmet, Cors

Awesome Lists containing this project

README

          

# Rest Api Fake Instagram made with Express NodeJS

#### Technologies

- NodeJS
- ExpressJS
- mySQL
- javaScript
- JWT
- CryptoJS
- Sequelize
- Bcrypt
- Express brute
- Helmet
- Cors
- Multer
- Dotenv

------------

#### Use it

```
git clone https://github.com/ALESSANDROLMENEZES/rest-api-instagram.git
npm install
Create and config your .env file in main directory, follow the .env-exemple
Create a data base: npx sequelize db:create
Create the tables: npx sequelize db:migrate
Create fake data: npx sequelize db:seed:all
Run your Api: npm start
```

------------

#### Check the documentation

[Link documentation](https://documenter.getpostman.com/view/9702967/Szzj7HP7?version=latest "Link documentation")

![Documentation](http://alessandrodev.com/imagens/documentationapi.jpg "Documentation")

#### Resources

- Create user
- Edit user
- Delete user
- List users
- Save post
- Edit post
- List posts
- Delete post
- Like or unlike a post
- Type a comment in a post
- Delete a comment in a post
- Edit a comment in a post
- Send message for an user
- Edit a message
- Delete a message
- Follow an user
- Unfollow an user
- List your followers
- List who you're following
- Find an user by name
- Find an user by id
- Get notifications
- Check notifications as read
- Delete a notification
- Login
- Logout
- Get a post by id

###### Database

![Database](http://alessandrodev.com/imagens/database_api_instagram1.png "Database")