This project is a CRUD APP with basic authentication demo using JWT and image uploads with cloudinary API. You can register, login, CRUD your profile and see other community members. At first a default profile pic is given to every user. Every user then can upload a profile pic and change it anytime as well as their information.
DOES NOT support password change currently. Any other information can be CRUD.
Main routes are /profile & /community
NodeJS & ExpressJS
- Typescript
- TypeORM
- MySQL
- EJS
- CloudinaryAPI
Use the package manager npm to deploy dependencies after clonening the project.
npm install
npm run dev
- MUST have MySQL installed in your local
.env file contains the following; Replace the information below accordingly. You should open a FREE cloudinary developer account for cloudinary variables.
- ACCESS_TOKEN_SECRET=your_secret_here
- PORT=your_port_number_here
- DB_PORT=your_local_mysql_db_port_here
- DB_NAME=your_local_mysql_db_name_here
- DB_USERNAME=your_local_mysql_username_port_here
- DB_PASSWORD=your_local_mysql_db_password_here
- CLOUDINARY_CLOUD_NAME=your_cloudinary_name_here
- CLOUDINARY_KEY=your_cloudinary_key_here
- CLOUDINARY_SECRET=your_cloudinary_secret_key_here
- CLOUDINARY_DEFAULT_PROFILE_PIC=your_any_default_picture_url_here_