Chat API (for this front-end)
Back-end project for a private chat, written with NodeJS + Express + Socket.IO + Mongoose.
$ node --version
v10.9.0
$ NPM --version
v6.4.0
$ MongoDB --version
v4.0.2
Create a database in MongoDB
git clone https://github.com/fernandohenriques/chat-api.git
cd chat-api/
Create a file called .env
Open this file and add this variables:
- PORT -> Port to API
- MONGODB_URI -> A MongoDB URI for database
npm install
npm start
cd chat-api/
npm run lint
- Fernando Henriques - GitHub