Coder Social home page Coder Social logo

pawangulati / learntogether Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 10.87 MB

Project submission for Microsoft Engage'21 program

Home Page: https://learn-together-client.herokuapp.com/

HTML 0.76% CSS 0.62% JavaScript 98.55% Shell 0.07%
reactjs node-js expressjs mongodb jest-tests redux redux-thunk mongoosejs heroku scheduler online-forum

learntogether's Introduction

LEARN TOGETHER

You’ll never study alone again

Join the largest global student community online and say goodbye to lack of motivation



What is this APP?

A platform which brings together students and mentors to have sessions of their choice. This platform provide both the functionality of an online forum(as students and mentor interact each other, students requests events, mentor schedule it) and a scheduler(mentor can schedule a requested event or can manually create one ot have a session).
Platform let students to request certain topics and if gotten upvoted by at least one more of a fellow student on the platform a requested event can display to all the other mentors, who then can choose which requested event they want to schedule and have a session for.

App Services

  • Requestings done by Students
  • Bookings down by Mentor
  • Following done by any user

Request Creation

image

Rooms and Sessions

image

Scheduling

image

Profiles

image

Features to STUDENT

image

Features to MENTOR

image

Tech Used

  • ReactJS
  • NodeJS
  • ExpressJS
  • MongoDB
  • REDUX
  • Material UI
  • Jest
  • Heroku

SETUP

Installs and Configs

  • Make sure that NodeJS is installed on your machine (you can refer .nvmrc file for node version on which this project was build on)
  • Clone the repo from main branch to your local machine
  • To install all dependencies both on front and backend you can run
npm install // for backend
npm install --prefix client // for frontend
  • setup environment variables for the project
    • copy .env.example file
    • change its name to .env
    • change values of variables accordingly, required variables here are MONGO_URL & SECRET_JWT
  • To run the project
npm run dev

NOTE: If you encounter babel-jest dependency error, follow below steps

  • make a .env file in client folder
  • add SKIP_PREFLIGHT_CHECK=true in it
  • now try run the above command again
  • App would be up and running on your browser

Testing

  • Framework used in this repo is JEST

"image"


  • Before running test, setup environment variables for it
  • replace values of variable according to you in .env.test file

NOTE: Try to make a different database for testing purpose as database will get drop in tests multiple times

  • now to run tests, run
npm test
  • you would be seeing approximatly 30 test cases would be passing



Thank you for visiting my repository, feel free to contribute and open issues and PRs if you like

learntogether's People

Contributors

pawangulati avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.