Giter Site home page Giter Site logo

lordkevinmo / online_exercises Goto Github PK

View Code? Open in Web Editor NEW

This project forked from axel7083/online_exercises

0.0 1.0 0.0 530 KB

The aims of this project are to offer a way to make exam in a more practical way. This system is mainly for mathematical problems because the results can be automatically computed.

Shell 3.04% JavaScript 93.78% CSS 1.71% HTML 0.99% Dockerfile 0.48%

online_exercises's Introduction

Description

The aim of this project is to offer a solution for teachers and student to have safer exercises online. The solution we are offering is for mathematical exercises (or exercises where the answer can be computed). For a same exercise all the student will get different input value, and the right answer will be automatically computed in the background, then compare to the user result, everything is then automatic and safe.

Installation

Instruction

This project is using Docker-Compose it allows us to run multi-container Docker application. In this repository the backend, frontend and the database will run in different containers.

First install docker installed on your machine: see instruction

After install docker-compose: see instruction

Then simply clone this repository, build and run it.

git clone https://github.com/axel0070/online_exercises
docker-compose up --build

In our case the FrontEnd is calling the server on the address localhost:8080 if you are using a VPS or something where the address of the server is not this one, you need to edit the file ./ui/.env and replace localhost:8080 by the server address.

Database

Default

In the docker-compose file, we are creating a container for a mongodb. Therefore there are no need to setup any external database. During the first start, the database will be created.

Manual

If you want to setup your own database for the backend, first you need to edit the docker-compose file and remove the mongo service and the dependency on it. Then you will need to edit the file located in ./api/src/connection.js and change the connection URL.

Features

You can see all of the feature and coming functionality in the FEATURES file.

License

Online Exercise is GNU AGPLv3 licensed.

online_exercises's People

Contributors

axel7083 avatar dependabot[bot] avatar

Watchers

 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.