IsmaelP19 / Zumber

Social network developed to allow the publication of short messages.

Home Page:https://zumber.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zumber

Social network developed to allow the publication of short messages.

Possible ways of using Zumber

Local Installation

Pre-requirements

Steps

  1. Clone the project with the following command:
git clone https://github.com/IsmaelP19/Zumber.git
  1. To run the server correctly it will be necessary to create a file named .env inside the server directory, with the following content:
MONGO_URI = <mongo_uri>
PORT = 3003
SECRET = <some_secret_password>

In MONGODB_URI you will have to enter the URI that MongoDB Cloud Atlas gave you, or a local address in case you are using a MongoDB instance on your device.

In SECRET you will have to enter a secret password: it will be used to sign the tokens and compare them when necessary. You can use the one you think is best.

  1. With the previous file already created, we can run the server by executing the following commands in a command console that is running inside the server directory:

    npm install
    npm start
    
  2. To run the client correctly it will be necessary to create a file named .env inside the client directory, with the following content:

    REACT_APP_BASE_URL = 'http://localhost:3003/api'
    
  3. With the previous file already created, we can run the server by executing the following commands in a command console that is running inside the client directory:

    npm install
    npm start
    
  4. If you've gotten to this point without any errors, you should be running the project locally successfully. You can access the initial route through the following link: http://localhost:3000

Internet Deployment

In addition to all of the above, the project is deployed in Vercel in the following link.

About

Social network developed to allow the publication of short messages.

https://zumber.vercel.app


Languages

Language:JavaScript 97.3%Language:HTML 2.1%Language:CSS 0.6%