Dockerized Travel Mapping Application using ReactMapGL, Mapbox, NodeJS and MongoDB
- Configure .env files according to your system setup in
/client/.env.example
and/server/.env.example
- Rename both the files back to .env
- Navigate to
/server
directory and install the dependencies usingnpm i
- Start the server using
npm run dev
- Once the server is up and running we can move onto starting the client application.
- Navigate to the
/client
directory and install the dependencies usingnpm i -f
(-f because package.json has been messed up because of fsevents for some reason) - Start the client using
npm run start
- Disable panel button once button is clicked and location is reached.
- Minor authentication fixes.
- Sign up at https://g.codefresh.io/
- Configure your Git and Registry by going into
/account-admin/account-conf/integration
- Create a new Project and add a new pipeline.
- Use the codefresh.yml in the root of the repository.
- Replace the repository name and registery name respectively.
- Once configuration is done, run the piepline.
- If everything goes right, all the stages would complete successfully and you'll get a successful output.
docker-compose.yml is also included if you want to setup a local docker environment. Just build both the docker images using docker build and run the docker-compose command.