Citizens of the World is a full-stack application built using Strapi, a highly customizable, open-source Headless CMS, as the backend, and React coupled with TypeScript, a powerful combination for building user interfaces, for the frontend.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js (>=18.0.0 <=20.x.x)
- npm (>=6.0.0)
- Clone the repository
git clone git@github.com:Yann-GitHub/citizens-of-the-world.git
- Install backend dependencies
cd backend
npm install
- Install frontend dependencies
cd ../frontend
npm install
From the backend
directory:
- To start the application with autoReload enabled (the app will automatically reload if you change any of the source files):
npm run develop
- To start the application with autoReload disabled (useful for a production environment):
npm run start
- To build the admin panel (this will create a production-ready build of your application):
npm run build
From the frontend
directory:
- To start the application in development mode (the app will automatically reload if you change any of the source files):
npm run dev
- To build the application for production (this will create a production-ready build of your application):
npm run build