This Project is a Typescript, Node JS and ReactJS Project which demonstrates the following
- Creating server using express js
- Connect the server with mongodb database
- Creating rest api endpoints
- Creating component in react
- Making HTTP calls
- Communicating between components, using context api
- Using tailwind css, toastify and react modal library for UI interations
- For client side routing, using react router v6
- Image uploading on cloudinary server
This URL has the application deployed in
Refer to https://nodejs.org/en/ to install nodejs
Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app
npm install -g create-react-app
Clone the project into local
Install all the npm packages. Go into the project folder and type the following command to install all npm packages
npm install
In order to run the application, type the following command
npm run serve
For build the project, type the following command
npm run build
Install all the npm packages. Go into the project folder /frontend
and type the following command to install all npm packages
npm install
In order to run the application, type the following command
npm run start
For build the project, type the following command
npm run build
The Application Runs on localhost:3000
PORT, API_PREFIX, NODE_ENV, JWT_SECRET, MONGODB_URI, CLOUD_NAME, API_KEY, API_SECRET, CLOUDINARY_URL
-
Login
-
Signup
-
Home
axios library is used to make HTTP Calls
User Login - /login
User Signup - /signup
Home Page - /profile/:id
The application has just one url /customerlist which ties to Customers Component
create-react-app : The following link has all the commands that can be used with create-react-app https://github.com/facebook/create-react-app
ReactJS : Refer to https://reactjs.org/ to understand the concepts of ReactJS
Typescript : Refer to https://www.typescriptlang.org/ to understand the concepts of Typescript
Express JS : Refer to https://www.expressjs.com/ to understand the concepts of Express JS
Mongoose : Refer to https://www.mongoosejs.com/ to understand the concepts of Mongoose