This project is under heavy development and is on the lookout for contributors both technical and ono-technical. If you are interested in understanding the product and contributing, do get in touch at hello@troupapp.com.
The Troup server is the Express-GraphQL app that helps the client address problems that we aim to solve. The server is built atop wonderful open-source projects with the goal of providing a fluid experience to the client.
Languages:
Libraries:
You will need to create two .env
files in the root and the prisma
folder. The instructions on setting those up are available within each example:
Bootstrap the database and the server. This will also seed your local database.
Start the development server and watch for file changes.
Build the production-optimised bundle for deployment.
Deploy the production-optimised bundle locally to test and simulate the production environment.
Run the linter, catching out any errors or warning that may occur.
The raw command runner. All commands that are listed as category:command
can be run using yarn cmd category command
.
For example, the app:dev
command can run as yarn cmd app dev
.
Use this if something has gone horribly wrong with your database. It wipes out all data, clears out all volumes and containers and restarts a new container.
Resources: Available Commands