- Clone the repo (
git clone git@github.com:GTBitsOfGood/enchanted-closet.git
) - Install dependencies with
npm install
- Copy
.env.example
to.env
and fill in the appropriate values
Command | Description |
---|---|
npm run build |
Compile all front-end React scripts to a bundle.js file |
npm run dev |
Start both the front-end and back-end servers concurrently in the same terminal window |
npm run frontend |
Start only the front-end server |
npm run backend |
Start only the back-end server |
npm start |
Starts the front-end and back-end servers in production mode |
npm test |
Runs unit/integration tests (alias for npm run test ) |