Application for Money jar financing system.
Most of the documentation and boilerplate code has been generated using the ChatGPT Bot from OpenAI. ChatGPT made a great contribution to the base folder structure as well as generating boilerplate code.
Use the Dockerfile to build the application's Docker image:
$ docker build -t my-app .
This will create a Docker image with the tag my-app. To run the image as a Docker container, you can use the following command:
$ docker run -p 5000:5000 my-app
This will start the Docker container and expose the backend on port 5000 of your host machine. You can then access the backend using a GraphQL client, such as Insomnia.
As for the frontend, you will need to start the React Native development server inside the Docker container. To do this, you can use the following command to open a shell inside the Docker container:
$ docker exec -it <CONTAINER_ID> /bin/bash
Once you are inside the container, you can navigate to the frontend directory and start the React Native development server using the following commands:
$ cd /app/frontend
$ npm start
This will start the development server for the frontend and print a URL that you can use to access the frontend in a web browser or the Expo app on your phone.
I hope this helps! Let me know if you have any questions.
Please have a look at the contribution section