Frontend using React, HTML, CSS. Backend using Strapi GraphQL.
To setup front end, follow these steps:
- Download NodeJS: https://nodejs.org/en/download/
- Clone this repo using the command:
git clone "https://github.com/lwoluke/React-RealEstate-Pt1.git"
- CD into Front-End directory and Enter the following into the terminal:
npm install
npm start
- If unable to run on local development server, create a .env file and paste the following line:
SKIP_PREFLIGHT_CHECK=true
To setup back end, follow these steps:
- CD into Back-End directory and Enter the following into the terminal:
npm install
npm run strapi install graphql
npm run develop
npm i graphql @apollo/client
- Create Strapi Admin account http://localhost:1337/admin
Email: [email protected]
Password: Test123!
Use http://localhost:1337 to enter
For the best development experience, use VS Code: https://code.visualstudio.com/
To build the app for production:
- CD into Front-End and enter
npm run build
- CD into Back-End and enter
npm run strapi build
Documentation for Deployment: https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment.html