You can check a demo app here.
This is a presentation website of the "Electronic Students League". It uses React for the frontend application and Genezio for the backend implementation and development.
Note: genezio deploy
deploys both backend and frontend. If you want to test this example out-of-the-box by running 1
command, head to the server
directory and run genezio deploy
.
If you want to deploy your application step-by-step, follow the guidelines below.
- Run
git clone https://github.com/lseIT/lsebucuresti.org
- Run
npm install
in theserver/
folder to install the dependencies. - Run
npm install
in theclient/
folder to install the dependencies.
- Run
genezio local
in theserver/
folder to start the local server. - Start the React app by going to the
client/
folder and runnpm start
.
- Run
genezio deploy --backend
in theserver/
folder that contains also thegenezio.yaml
file. This will deploy your code in the Genezio infrastructure and it will also create an SDK that can be used to call the methods remotely. - Start the React app by going to the
client/
folder and runnpm start
.
- Run
npm i && npm run build
in theclient
folder to build the React app. - Run
genezio deploy --frontend
in theserver
folder to deploy the frontend in the Genezio infrastructure.