Run gs-project
To run a project you should be either in the client
or server
directory of your project, depending on which plugin you need to run.
Steps for running basic init project is defined here. Each plugin has a guide on how to run the project with that plugin added.
Steps for running Server Plugin
- Navigate to your project directory: cd 'project-name'
- Go to the server directory: cd server
- Install npm dependencies: npm install
- Create a .env file and copy & paste the .env.example file:
cp .env.example .env
- Start the development server: npm run start:dev
- Access GraphQL at: http://localhost:3000/graphql
- Access Swagger at: http://localhost:3000/api
Steps for running Client Plugin
- Navigate to your project directory: cd 'project-name'
- Go to the client directory: cd client
- Install npm dependencies: npm install or yarn install
- Create a .env file and copy & paste the .env.example file:
cp .env.example .env.development
- Start the development server: npm run start or yarn start
- Access application on web at: http://localhost:8081
- You can also access the application in simulator or emulator.