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 installin theserver/folder to install the dependencies. - Run
npm installin theclient/folder to install the dependencies.
- Run
genezio localin theserver/folder to start the local server. - Start the React app by going to the
client/folder and runnpm start.
- Run
genezio deploy --backendin theserver/folder that contains also thegenezio.yamlfile. 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 buildin theclientfolder to build the React app. - Run
genezio deploy --frontendin theserverfolder to deploy the frontend in the Genezio infrastructure.