Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 830 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 830 Bytes

Social-network

Social network platform with user registration system. Front-end is created in React and React-Apollo with Reactstrap UI framework. Back-end is created with Express and Express-GraphQL and MongoDB as a database with Mongoose.

Get started

Client

  • cd client
  • run npm install
  • start the dev server npm start on port 3000
  • or run production build npm run build

Server

  • cd server
  • run npm install
  • set env variables in .env file for DB_HOST and DB_NAME
  • if you want server to use client build files then change NODE_ENV to production
  • start the server with npm run dev on port 4000

Preview

Author

Nenad Vracar

License

Licensed under MIT