Loading repository data…
Loading repository data…
chain-xvi / repository
A very simple, scalable, reusable, customizable, and built from-scratch full-stack web application boilerplate.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This is a simple, scalable, and reusable full-stack boilerplate starter web application. To get started make sure to go through all the steps in this guide!
It uses a pretty modern tech stack all around, frontend and backend.
First let's clone the app:
git clone https://github.com/iamanas20/relay-react-node-ts-boilerplate.git
cd relay-react-node-ts-boilerplate
cd frontend
yarn install
Run each of the following commands separately:
yarn watch
yarn relay --watch
yarn tsc -w
yarn watch: to start the app using webpack.yarn relay --watch: to watch for any graphql changes and generate relay files.yarn tsc --w: to watch typescript files and log any errors.cd backend
yarn install
Run each of the following commands separately:
yarn watch
yarn tsc -w
yarn watch: to start the app using nodemon.yarn tsc --w: to watch typescript files and log any errors.You will need .env variables to both the backend and frontend, fill these variables accordingly:
DB_URL=127.0.0.1
DB_USER=
DB_PASSWORD=
DB_NAME=
API=http://localhost:3000/graphql
This example is using MySQL, we'll create a new database using MySQL Workbench
If you have any questions contact me