- Make sure you have mongoDB installed and active
- copy the
.env-examplefile into.envand update it with your AWS credentials and S3 configured bucket for image uploading - From the project root, run
yarn installto install required packages - Then, run
yarn devto run the development environment on your machine - That's it. Wait until you get the
🚀 Server listening on port http://localhost:3001log message. - Open http://localhost:3001 for GraphQL playground
-
yarn devruns the app in the development mode. -
yarn lintlints javascript files and breaks on error. -
yarn lint:fixlints javascript files and fixes fixable errors. -
yarn formatformatts javascript files based on prettier config. -
yarn buildbuilds project files