GithubHelp home page GithubHelp logo

node-angular's Introduction

QUIZZ APP

Travis Build Status Coverage Status

RUNNING WITH

DOCKER

Requirements


Project Structure

quizz-app/                              # → Root Application
├── docker/                             # → DockerFile images
│   └── backend/                        # → backend DockerFile
├── e2e/                                # → End to End tests Folder
├── server/                             # → backend root folder
│   ├── src/                            # → Backend Source Folder
│   │   ├── api/                        # → Backend API Folder
|   │   │   ├── controllers/            # → Controllers
|   │   │   ├── middlewares/            # → Middlewares
|   │   │   ├── models/                 # → Mongo models folder
|   │   │   ├── routes/                 # → Routes folder
|   │   │   ├── services/               # → Service layer folder
|   │   │   └── validators/             # → Payload validators
│   │   ├── config/                     # → Configuration Folder
│   │   ├── data/                       # → Seeds and Database script location
│   │   ├── docs/                       # → documentation location
│   │   └── utils/                      # → Helpers Folder
│   └── test/                           # → Backend Unit Tests
├── src/                                # → Frontend root folder
│   ├── app/                            # → Frontend source folder
│   │   └── layout/                     # → layout folder
│   ├── assets/                        
│   ├── environments/                   # → Frontend environments variables
│   └── themes/                         
├── .babelrc                            # → Babel configuration file
├── .dockerignore                       # → Files to be ingnored on docker build
├── .editorconfig                       # → Files to be ingnored on docker build
├── .env.docker                         # → Docker env file exemple
├── .env.example                        # → exemple env file
├── .eslintrc                           # → Es linter configuration
├── jest.config.js                      # → node.js dependencies and scripts
├── package.json                        # → node.js dependencies and scripts
├── README.md                           # → ME :smile:
├── tsconfig.app.json                   
├── tsconfig.json                       
├── tsconfig.spec.json                 
├── tslint.json                         # → Typescript linter definition
└── yarn.lock                           

Project setup

Classic Mode

Create .env file in the root project from .env.example and edit default parameters

Docker Mode

Edit parameters in .env.docker

Development

Setup

  • Run yarn from the theme directory to install dependencies

Build commands

  • yarn start — Compile and optimize backend & frontend
  • yarn start:dev — launch backend & frontend in dev mode
  • yarn lint — Run linter on backend & frontend
  • yarn build — Compile and optimize the backend & frontend files concurrently

Running unit tests

Run yarn test to execute the unit tests via Jest & Chai.

Running end-to-end tests

Run yarn e2e to execute the end-to-end tests via Protractor.

Production

Comming Soon

Docker launching

Comming Soon

Features

  • List Quizz API
  • Create Quizz API
  • Submit Quizz API
  • List Quizz Front
  • Submit Quizz Front
  • Authentication
  • Registration
  • Integrate Keystone 5
  • Launch With Docker

node-angular's People

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.