Skip to content

A social learning platform designed to make college more engaging for students, therefore reduce the dropout rate.

Notifications You must be signed in to change notification settings

tonyjiang/campfire-web-material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Campfire Web App

Do you know that in the US about a third college students drop out? Not only they don't become Steve Jobs, they do less well than those who finish their degrees. Lack of engagement is a big factor behind this problem. Campfire is a social learning platform designed to make college more engaging for students, therefore reduce the dropout rate. How does it do it? The trifecta of a chat app like Discord, an AI-powered study companion, and a course management system for professors. We believe the combination of these three tools can produce great results.

Deveopment

This React app is built using Material UI. It relies on the Ruby on Rails API server for data access and authentication.

Starting the application

First get an Oauth client ID from your local database used by Ruby on Rails backend. Make sure you have run seeds.rb against development database. Then in Rails console run Doorkeeper::Application.where(name: 'Web') to get an application object. Copy the uid - this is your client ID for web development.

Make a copy of .env.sample and name it .env.development.local. Then paste the Oauth client ID like so:

REACT_APP_OAUTH_CLIENT_ID=<your Oauth client ID>

Finally run npm start to start the app in the development mode. Then open http://localhost:8080 to view it in your browser.

Running the application in Docker

Mostly we use Docker Compose to run API and web containers together. The docker-compose.yaml file is in the campfire-api repo.

Here is how you build the Docker image: docker build -t campfire-web . If you need to run it individually (API should be already running):

docker run --env-file .env.development.local -p 8080:8080 campfire-web

CRA - Create React App

This project was bootstrapped with Create React App.

About

A social learning platform designed to make college more engaging for students, therefore reduce the dropout rate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages