https://github.com/sreeharijayaraj/leap
internship assignment for leap
https://github.com/sreeharijayaraj/leap
java react spring-boot typescript
Last synced: 3 months ago
JSON representation
internship assignment for leap
- Host: GitHub
- URL: https://github.com/sreeharijayaraj/leap
- Owner: SreehariJayaraj
- Created: 2024-01-30T20:04:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-01T11:13:40.000Z (over 1 year ago)
- Last Synced: 2025-03-02T03:35:59.197Z (3 months ago)
- Topics: java, react, spring-boot, typescript
- Language: Java
- Homepage: https://leap-ruddy.vercel.app
- Size: 230 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Project Task app - Leap internship task
### Tech used
- java
- spring boot
- React js
- Typescript>
- Postgresql
### I have used MVC architecture in the backend to develop the APIs. We have a model called Task and a few API endpoints that let you do crud operations in this model and the app is hosted in railway.app, the front end is powered by react and typescript hosted in vercel.com
## Thought process
### I started by creating a standard spring boot app and used documentation, chat gpt, anthropic Claudia etc to develop the program I was stuck in generic CRUD operations for a few hours because of some error in dependency injection, but I was able to solve that and to make the response better I created a response class and did method overriding and made the class type compatible by using the generics. developing the frontend was easier for me since I have been working in React for few years i was able to create the frontend in a few hours , I used typescript for better dx and vanilla CSS
### For local development I used postgresql running inside a docker container as the database
* This is the first time I am writing a spring boot application, i have experience in writing nest js so this method of programming with decorators was familiar for me
### Running locally
* For Java, make sure you have installed java runtime mvn then run mvn spring-boot: run
* For frontend install pnpm and run pnpm run dev

## Video
https://github.com/sreehari2003/leap/assets/66205494/e34ca677-2a97-44f7-80b7-5ad65d1e933c