This project contains both the backend and the client application.
STACK : MongoDB, Express server, Node.js, React
Inorder to get started, do the following:
- After cd into the main project folder, install dependencies for the backend by running
npm install
- Then, run
npm run client-install
to install dependencies for the client app - Then to start both the client and the server concurrently run
npm run dev
- Now, the client will start running in port 3000 and server will run in port 5000
The client application(SPA) can be found inside crud-client
directory
General info about the client project:
- Google maps API is used to display the map. For Geocoding, Mapbox Geocoding API is used
- React Hooks are used, useCountryInfoFetch() is a custom hook
- The project is written using ES6 syntax
- Field validations are NOT carried out
- Airport location can only be selected from the map