Skip to content

wakeuplabs-io/react-monorepo-template

 
 

Repository files navigation

React Monorepo Template

Node and NPM version

TL;DR

  • Node version: 18.18.2
  • npm version: 9.8.1

For now, API breaks with Node > 18.18. Node 18.18.2 is required.

Also, Node 18.18.2 comes with npm 9.8.1, so the project should work properly with it. In any case, npm workspaces were added in npm 7.0.0, so you should have at least that version (9.8.1 strongly recommended).

Create user for deployment (AWS)

  1. Go to IAM service

  2. Click Users --> Create User

    image info

  3. Fill the user name and click on Next

  4. Click Attach policies directly, click on AdministratorAccess and click on Next

  5. Click on Create user

  6. View the created user.

  7. Click on the tab Security credentials and click on Create access key

  8. Click on the option Command Line Interface (CLI) and click on Next

  9. Click on the button Create access key

  10. Copy the keys Access key and Secret access key

Configure serverless locally (OPTIONAL)

Execute the following command in your terminal:

npx serverless config credentials --provider aws --key <your aws access key> --secret <your aws secret access key>

Useful information if you fork this monorepo

Package lock is git ignored

Intended in order to avoid merge conflicts on this repo

Don't forget to remove it from git ignore! Package versions should always be defined specifically (without the simbol ^) This ensures that even if the lock is deleted, same versions would be reinstalled.

Having the lock inside your repo is useful for CI package caching and to avoid version diff on fresh install.

Github workflow is deactivated

We don't want to trigger the workflow here, but you probably want to. You should rename the .github/workflows-off folder to .github/workflow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.8%
  • CSS 12.5%
  • HTML 3.9%
  • JavaScript 0.8%