QuickStack - NestJS + Expo Boilerplate for Fast Web and Mobile App Development.
Features • Getting started • Contributing • License
- NestJS;
- Expo;
- Typescript;
- GraphQL;
- PostgresSQL;
- React Native Paper;
- Handlebars for Email Templates;
- Docker;
- Authentication;
- User Registration;
- User Roles;
- Password Recovery;
- Backend Tests;
Clone the repository and in your terminal cd into /backend.
Using Yarn:
yarn
Using NPM:
npm install
Make duplicates of the .example files in the root and /config directories and remove the .example extension. Edit them with your credentials.
If you'd like to load the backend with Docker, run:
docker-compose up
Otherwise, if you have a Postgres instance running, you can run:
yarn start:dev
or
npm run start:dev
cd into /frontend.
Using Yarn:
yarn
Using NPM:
npm install
Once the installation is done, run:
expo start
The boilerplate currently comes with two roles, Admins and Members. The role of Admin is assigned to the first user to register on the system. Subsequent users are registered as members. There's a role guard setup on the backend for GraphQL endpoints and on the frontend for routes. I'll be updating the Users list screen so that Admins can update users information from the Dashboard.
Thanks for being interested in contributing! We’re so glad you want to help! All type of contributions are welcome, such as bug fixes, issues or feature requests.
Licensed under the MIT License.