Habib23me / instgram-clone-api

Node.js api that clones social networks like facebook & instgram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instgram Api

Node.js api that clones social networks like facebook & instgram

About App

Node.js app with Express framework using MongoDB with mongoose api. Using WebSockets to real-time updates

Setup

1- run npm install to install all dependencies.

2- Edit database configurations in app.js, it has its own configuration you can leave it by default or change to another database, be sure you installed MongoDB on your machine

// connect to MongoDB
mongoose
    .connect(`mongodb://localhost/instgramapp`)
    .then( () => { console.log("Database connected successfully...")})
    .catch( err => console.log("Database connection error..."));

3- run npm start app will be work on localhost on port 3000, url http://localhost:3000

Compatible with front

1- you can ckeck this api with post man

2- OR use angular-frontend app compitable with this api Frontend App.

About

Node.js api that clones social networks like facebook & instgram


Languages

Language:JavaScript 100.0%