Git Product home page Git Product logo

cise_asssignment_1b's Introduction

CISE Assignment 1B SPEED

Group Assignment using the MERN stack.

Group Members

  • Vinson Beduya
  • Jacob Tupe
  • Jose Santos

Setting Up Backend Dev Environment

  1. In the root folder, open your CLI and run npm install.
  2. Copy .env file from this private repository and paste it into the root folder locally. (Authorised Access Only)
  3. Run npm start or npm run dev to start the express server. For API tests, please follow instructions from Running API Tests.

Generate Production Build Script

In the root directory, open a bash terminal with super user/admin priveleges and run .\build_script.sh

Running API Tests

Note: Ensure to restart the server for each time you run the tests to clear the mongodo-memory-server.

  1. Open two CLI windows.
  2. On the first CLI window, enter npm run dev:mongo-mock to run the mock server which uses mongodb-memory-server.
  3. On the second CLI window, enter Enter npm run test to run the tests with mocha.
  4. Close once finished.

Database Schemas

  1. Article
title: String,
authors: String,
source: String,
pubyear: Number,
doi: String,
claim: String,
evidence: String,
sepractice: String,
moderated: Boolean,
approved: Boolean
  1. Practice
practice:string

cise_asssignment_1b's People

Contributors

justvinny avatar jadatu13 avatar jose-vs 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.