Giter Site home page Giter Site logo

child-s-cognitive-development-platform's Introduction

child-s-cognitive-development-platform

Platform link:

https://guarded-caverns-95243.herokuapp.com/

image

Create an account to have access to the home page and the different tests

account

NodeJS

Link to download NodeJS: https://nodejs.org/en/

Command npm install to install the different packages (express, body-parser...)

Command node app.js to launch server

App.js

Before each test (fileName: Game), the user has the possibility to try some example (fileName: trainingGameName).

The order and the examples can be modified in the file "app.js"

Variables "testName" show if the test has already been done or not

To add another game and store the relative data, you should create a new mongoose.Schema (or use an existing schema if it's the same schema as one of the other test)

DATABASE (MongoDB):

All data are stored using MongoDB Atlas

  1. Create a new account on https://account.mongodb.com/account/register

  2. Create a new cluster

In our project we used:

  • AWS and N.Virgina as Cloud provider & Region
  • M0 as a cluster Tier
  1. Add a new MongoDB user (Atlas admin)

  2. IP whitelist Allow access from anywhere

  3. Once the cluster has been set up:

  • Connect to the cluster
  • Connect to the mongo Shell (1: download it 2: select version)
  • Copy the url "mongodb+srv://username:[email protected]/databasename" and replace username, password, databasename by your own ones --> This link will be used in the app.js (mongoose.connect("link", {useNewUrlParser: true, useUnifiedTopology: true});)
  1. To create the database click on collections --> create database

DEPLOYMENT (Heroku):

The website is deployed using heroku

  1. Create a new account on https://signup.heroku.com/login
  2. Install heroku and start using the heroku command from your command shell --> "Heroku Node.js Documentation" https://devcenter.heroku.com/articles/getting-started-with-nodejs

child-s-cognitive-development-platform's People

Contributors

yassinelar 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.