etkndr / gettogether

Clone of Meetup.com - React, Express.js, CSS3, Sequelize
http://get-together-3yf3.onrender.com
0 stars 0 forks source link

getTogether - Meetup clone

Technologies Used

getTogether was built using the following technologies:

🏠 Homepage

Installation

Initial Configuration

Backend

  1. Clone repository

    https://github.com/etkndr/gettogether.git
  2. Install dependencies

    npm install
  3. Create a .env file in /backend with the following environmental variables:

    PORT=8000
    DB_FILE=db/dev.db
    JWT_SECRET=1234abcd (generate a random secret)
    JWT_EXPIRES_IN=604800
    SCHEMA=gettogether
  4. Migrate and seed your database and start the server

    cd backend/ &&
    npx dotenv sequelize db:migrate &&
    npx dotenv sequelize db:seed:all &&
    npm start

Frontend

  1. In a new terminal, navigate to the frontend directory and start the React application

    cd frontend/ &&
    npm install &&
    npm start

At this point, the application should be up and running, and will be available in your web browser at http://localhost:3000/



image