8000 GitHub - UserOfficeProject/user-office-backend
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

UserOfficeProject/user-office-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Notice: this project is archived

For future development please use https://github.com/UserOfficeProject/user-office-core/


Available Scripts

In the project directory, you can run:

npm run dev

Runs the app in the development mode.
Open http://localhost:4000 to view the GraphQL playground in the browser.

You will need to manually reload if you make edits.

npm run test

Launches the Jest test runner and prints the coverage report when done with tests.

npm run tsc

Compiles typescript to javascript for production to the build folder.

Your app is ready to be deployed!

npm run lint

Lints typescript code and log if there are any errors.
npm run lint:fix should be used if you want to fix all autofixable errors and warnings.

Development helper scripts

In the project directory, you can also run:

node .\dev-commands\crudHelper.js c <name>

This command will create all files and CRUD operations needed for starting new endpoint.
For example: node .\dev-commands\crudHelper.js c instrument will initialize all GraphQL mutations and queries for creating, reading, updating and deleting an instrument.
💡 Keep in mind that you need to go through all the generated files and add the missing parts for specific case.

Contribution and release versioning

Please reffer to the Contribution guide to get information about contributing and versioning.

Happy coding! 👨‍💻

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 28

0