This document provides instructions for setting up and running the project. Follow these steps to get started:
- Node.js: Ensure you have Node.js installed on your machine. You can download it from nodejs.org.
- npm: Node.js comes with npm (Node Package Manager). You can check if npm
is installed by running
npm -vin your terminal.
-
Download amplify_outputs.json
Before proceeding with the setup, download the
amplify_outputs.jsonfile. This file is required for configuring the project properly. Place it in the root directory of your project. -
Copy Environment File
Set up your environment configuration by copying the example environment file to the root directory and renaming it to
.env.cp env/example.env .env
-
Install Dependencies
Next, install the project dependencies using npm. Run the following command:
npm install
-
Run the Project
In Development Mode
To run the project in development mode, use:
npm run dev
After installing the dependencies, you can start the project using
npx. Run the following command to initialize the project in sandbox mode:npx ampx sandbox
- Environment Variables: The
.envfile should contain all the necessary environment variables for your project. Make sure to configure these variables as needed for your development or production environment. - Running Locally: The
npx ampx sandboxcommand is used to run the project locally in a sandbox environment. If you need to run the project in a different mode or configuration, refer to the project's documentation or configuration files.
- If you encounter issues with
npm install, ensure that yourpackage.jsonfile is correctly configured and that you have a stable internet connection. - If the
npx ampx sandboxcommand fails, verify thatnpxandampxare properly installed and available in your PATH.
- Authentication: Setup with Amazon Cognito for secure user authentication.
- API: Ready-to-use GraphQL endpoint with AWS AppSync.
- Database: Real-time database powered by Amazon DynamoDB.
For detailed instructions on deploying your application, refer to the deployment section of our documentation.
See CONTRIBUTING for more information.
This repository does not currently have an open source license. The software contained within is not licensed for use, modification, or distribution until further notice.