Skip to content

Boilerplate to speed up your prototyping and avoid project configuration pain

License

Notifications You must be signed in to change notification settings

egor-sorokin/tiny-react-nodejs-boilerplate

Repository files navigation

Idea

This boilerplate is created to speed up prototyping and avoid project configuration pain. It should be used only for educational purposes and pet projects.

How to run

Start mocked local server by:

node api-server.js

Open new terminal/command line tab and type following commands:

yarn install
yarn start

Navigate to http://localhost:9000/

To create dev/production build use following commands accordingly:

yarn build-dev
yarn build-prod

To run lint:

yarn lint

To run tests:

yarn test

In case if yarn command is not found:

brew install yarn

For details visit yarn docs or you can use npm instead.

Sample project

It is included:

  • an implementation of a basic table with getting data from a local server (api-server.js)
  • usage of Atlaskit UI library to display spinners and error messages

API

API_DOCS.md can be used for documenting API endpoints api-server.js file is repsonsible for all back-end logic

Useful docs