forum app

💬 Simple Social Network Application for sharing posts/discussions, built with MEVN stack.

forum-app

Before you get started make sure to install Vue and MongoDb on your environment.

  1. Mongo instructions: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/
  2. Vue instructions: https://cli.vuejs.org/

After Cloning the repository run the following commands to get started.

  1. Api setup
cd backend
npm install
npm run dev
  1. .env variables
    Create an .env file in backend folder. It should look like this:
MONGO_URI={mongo db connection string}
TOKEN_KEY=someJWTAuthenticationKey

Create another .env file in frontend folder. It should look like this (only if backend is running locally):

VUE_APP_API_URL=http://localhost:5050/api
  1. Frontend setup
cd frontend
npm install
npm run serve