Note: This is a prototype site. No real transactions involving real money are handled.
Before you begin, you will need to have the following installed on your machine:
- Node.js
- npm (Node Package Manager)
Navigate to a directory and paste the following command:
git clone https://github.com/seancfong/phenomenal.git
Open a terminal and navigate to the root directory of the project.
Run the following command to install all required dependencies:
npm install
Run the following command to start the development server:
npm run dev
Open a web browser and navigate to http://localhost:3000.
The project is structured as follows:
- pages/: Contains all the Next.JS page routes.
- page/api: Contains API routes for integration with Stripe.
- components/: All the React Components used to render content.
- sanity_phenomenal/: Contains the sanity desk to create and edit site content from Sanity CMS.