Skip to content

AnthonyTC89/moodle

Repository files navigation

Moodle

Project Create with React, RailsAPI and AWS

Live Demo . Report Bug · Request Feature

Screenshot

Table of Contents

About The Project

This project is a Moodle for a pedagogic school in Peru. A user can create an account of a student in the website. The administrator can update the account of a user to be a professor. A professor can create courses, subjects, schedules, upload documents in the Website. A student can view the courses, subjects, schedules and download the documents. There is guest account to have a view of the courses with less options.

Built With

Pre-Installation

  1. npm version 6.13.4 or more
  2. node version 8.17.0 or more
  3. ruby version 2.6.5 or more
  4. rails version 6.0.2.1 or more

DataBase Setup

  1. Run: sudo apt-get update && sudo apt-get install postgresql
  2. Run: sudo service postgresql start
  3. Run: sudo -i -u postgres
  4. Run: psql
  5. Run: CREATE USER <user> with encrypted password '<password>'; (with semicolon)
  6. Run: ALTER USER <user> createdb;

Local Environment Variables

  1. Back-end: (Ruby on Rails), create this file: config/local_env.yml * e.g: DATABASE_USERNAME: <user> * e.g: DATABASE_PASSWORD: <password>
  2. Front-end (React), create this file: client/.env * e.g: REACT_APP_KEY_API=randomkey123

Installation

  1. clone the repository moodle
  2. cd in to the folder and run bundle install
  3. run rails db:create && rails db:migrate && rails db:seed * (If there are problems with the service of postgresql check DB Section)
  4. cd in to /client folder and run npm install
  5. return to root folder and run rails start
  6. wait until both servers will be initialized
  7. go to localhost:3000

Future Features

  1. A dashboard for a director of the pedagogic school.

Contact

About

Moodle for a pedagogic school

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published