Coder Social home page Coder Social logo

r-rev's Introduction

R rev demo

R rev prototype project


Requirements

For development, you will only need Node.js and a node global package, npm, installed in your environement.

NOTE: Installed latest versions of nodejs and npm needed

Install dependencies

# server dependencies:
$ npm i
# client dependencies:
$ cd /client
$ npm i

Configure app

1. Setting up database

Mongo db is used as database server to persist data. Before runing server following environment varibale needs to be setup:

process.env.MONGO_URI

This variable need to hold connection string to mongo database. If it doesn't exist server will try to use local mongo database. This might be convenient for local development.

2. Running the project

$ npm start

3. Running project locally for dev purposes

$ npm run dev

This will run server and client apps concurrently

4. Simple build for production

$ npm run build-client

This will produce public folder with client optimised for production. Client will be available through server root path

5. Login into app

On fist run server will make administrative user account, this can be used to edit/delete other accounts and data.

email: "admin@admin"
password: "admin"

r-rev's People

Contributors

ak-19 avatar

Watchers

 avatar James Cloos 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.