Giter Site home page Giter Site logo

bunny's Introduction

User Task Management

This is a simple project which allows a client to manage users in the application as well as manage their tasks created.

All tasks can have only two states:

  • To do
  • Done

Live Testing

To test the application live, please visit any of the following sites

Installation

This micro service application requires Node.js v8+ to run.

Please install Node.js v8+ before proceeding

Installing User Service

Install the dependencies and devDependencies

$ cd projectDir
$ cd backend
$ cd user
$ npm install 

Additional Steps:

  • Go to hidden directory under user.
  • Open bunny-studio.json file.
  • Add firebase service account credentials.

Note: You are required to create a firebase project with firestore.

Start User Service

$ cd projectDir
$ cd backend
$ cd user
$ node server.js 

Installing User Task Service

Install the dependencies and devDependencies

$ cd projectDir
$ cd backend
$ cd user-task
$ npm install 

Additional Steps:

  • Go to hidden directory in user.
  • Open bunny-studio.json file.
  • Add firebase service account credentials. Note: You are required to create a firebase project with firestore.

Start User Task Service

$ cd projectDir
$ cd backend
$ cd user-task
$ node server.js 

Frontend Installation and Running

$ cd projectDir
$ cd frontend
$ npm install
$ ng serve

Running Test on Microservices

To run already written unit tests for the services, please do the following:

Testing User Service

$ cd projectDir
$ cd backend
$ cd user
$ npm run test

Testing User Task Service

$ cd projectDir
$ cd backend
$ cd user-task
$ npm run test

Building for production

For frontend production release:

$ cd projectDir
$ cd frontend
$ ng build --aot

Upload to Hosting

  • Copy files in your frontend dist directory to server.
  • Modify app configurations for User and User Task Services.
  • Create a user Service and copy backend user directory over there.
  • Create a user Task Service and copy backend user-task directory over there.

bunny's People

Contributors

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