Giter VIP home page Giter VIP logo

platform-backend's Introduction

Platform - Backend

Backend part of the JDIS training platform.

See the deploy repository for details on how to deploy the platform.

Run

The only requirement is that the PWD environment variable must be set to the directory of the project. You can use export PWD=$(pwd) on unix-like platforms.

You can then run npm start to launch the server in dev mode.

API

The swagger API is available at /api/swagger. You will need to give it a cookie.

Seed

To seed the database, an admin needs to POST on the following endpoints:

  • /api/languages/seed
  • /api/categories/seed
  • /api/challenges/seed

platform-backend's People

Contributors

sytten avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

platform-backend's Issues

Support events

We will want to use the platform for specific events. We should be able to do that:

  • Challenges assigned to events
  • Events can be locked
  • Scoreboard per event

Remove options in mongoose when able to

We use some options (useNewUrlParser and useCreateIndex) in mongoose connect method to avoid warnings.
To will be removed eventually when the code is merged as the default upstream.

Better admin tooling

Some ideas:

  • Manage events members
  • Manage admins
  • Challenge creator level
  • Event manager?
  • Modify challenge points

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.