efalayi / rpn-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coverage Status

rpn-generator

This is a React based app designed to generate unique 10 digit phone numbers

Features
  • A user can generate new phone numbers
  • A user can sort phone numbers in ascending and descending order
  • A user can can get maximum and minimum phone numbers

Technology

This application was developed purely with JavaScript using React Architecture, NodeJs, and Express.

Dependencies

Getting Started

  • Clone the project from repository https://github.com/efalayi/rpn-generator
  • In your terminal, change directory to the cloned folder and run yarn install. This installs all the app's dependencies.
  • Create a .env file using the sample specified in .env.sample
  • To start the app in production mode, set your NODE_ENV to production and run yarn start
  • To start the app in development mode, set your NODE_ENV to development and run yarn start:dev
  • Point your browser to localhost, using the port defined in your .env file.
  • Alternatively, you can access the app on rpn-generator.herokuapp.com/

Testing

Server modules were tested using Mocha while client modules were tested using Jest, React-Test-Renderer and Enzyme.

NPM Scripts

To make development easier, some NPM scripts were written:

  • yarn test:client runs tests for client modules using Jest
  • yarn test:server runs test for server modules using Mocha
  • yarn start:dev runs app on local machine

License

MIT © 2018 | Esther Falayi | Andela, Nigeria

About

License:MIT License


Languages

Language:JavaScript 75.2%Language:CSS 23.9%Language:HTML 0.8%