Fullstack javascript app with React-based responsive UI.
This project was bootstrapped with create-react-app and Razzle. It uses GraphQL for client-server communication and DynamoDB to store data.
- Node v14+
- Docker
- optionally Yarn (or else use
npm
instead ofyarn
in commands)
- clone this repository
- with node installed run:
yarn install
for yarn ornpm install
for npm - start database docker container:
docker-compose up
- start server and ui with
yarn start
(UI will run on http://localhost:3000 and API with playground on http://localhost:3000/api) - to allow running imports, generate or copy
google-credentials.json
tosrc/server/io
folder
yarn user:create:admin EMAIL PASSWORD
to create admin useryarn storybook
to run storybook (catalogue of components).yarn build
to create production build in thebuild
folder.yarn eject
to eject config files and edit them yourself (warning: this is a one-way operation)