Skip to content

akiraTatesawa/api-bate-papo-uol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat UOL API

Chat UOL API Logo UOL

Table of contents

Project Description

My second back-end project proposed by the Driven Education Bootcamp is the implementation of Chat UOL API, a Bate-Papo UOL clone, one of the most used online chats in Brazil.

Technologies

NodeJS Express.js MongoDB JavaScript ESLint NPM Visual Studio Code Insomnia Git

Status

status-finished

Running the project

  1. Clone the repository:

    git clone https://github.com/akiraTatesawa/api-bate-papo-uol.git
  2. Navigate to the project directory:

    cd api-bate-papo-uol
  3. Install the dependencies:

    npm install
  4. Set your environment variables following the .env.example file:

    URL_CONNECT_MONGO=
    PORT=
    DATABASE_NAME=
    
  5. Initialize mongodb:

    mongod --dbpath ~/.mongo 
  6. Run the server in dev:

    $ npm run dev
    
    > server@1.0.0 dev
    > nodemon ./src/index.js
    
    [nodemon] 2.0.16
    [nodemon] to restart at any time, enter `rs`
    [nodemon] watching path(s): *.*
    [nodemon] watching extensions: js,mjs,json
    [nodemon] starting `node ./src/index.js`
    
    Connected to the database...
    Server running on port 5000...

About

The implementation of Chat UOL API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published