Skip to content

Single page React.js / Node.js app written in Typescript for proof of concepts deployed on Docker.

Notifications You must be signed in to change notification settings

farazdurrani/React-Node-Typescript-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single page React.js / Node.js app for proof of concepts

Installation

Before starting please install node@8.9.4 and yarn@1.6.0

Note: Need help setting up node, yarn: see Dependencies

Clone with git, run yarn, start docker container

$ git clone [repo] 
$ cd client/
$ yarn install
$ cd ../server/
$ yarn install
$ cd ../
$ docker-compose up

Note: Need help installing docker: see https://docs.docker.com/v17.12/docker-for-mac/install/

Wait for the container to startup (first time startup is ~3min, subsequent container startups will be faster). After container starts, yarn will start the frontend and backend builds.

Upon completion of the builds, the app will be accessible here http://localhost:9001/

Frontend

  • Implemented this Product Mock
  • Used Semantic UI for React https://react.semantic-ui.com/
  • Demonstrated expert level knowledge of React.js with TypeScript
  • Demonstrated expert level knowledge of Redux.js
  • Implemented Jest based unit test coverage of React components

Backend

  • Backend routes will be matched when the URL path starts with "/api"
  • Used TypeORM and save the data to a SQLite database. http://typeorm.io/#/
  • Demonstrated expert level knowledge of Express.js with TypeScript
  • Implemented Jest based unit test coverage
  • Implemented Supertest based functional test coverage https://www.npmjs.com/package/supertest

Docs

About

Single page React.js / Node.js app written in Typescript for proof of concepts deployed on Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published