bjupreti / karyakram-backend

http://3.99.181.235/docs
0 stars 2 forks source link

Created Some Model class and CRUD operation for Event and User entity #12

Closed roshanbasnet closed 1 year ago

roshanbasnet commented 1 year ago

Summary

Implement User and Event models with SQLModel and corresponding Pydantic schemas.

Changes

Please @bjupreti review and provide feedback

bjupreti commented 1 year ago

I think databasedb/karyakram.db shouldn't be committed in git. Later, we will be using RDS but even for now, I don't think we should commit databases in git.

Are you able to call events API and get back the response? When I tried to run it in my local machine I got so many import errors. Do you think it will be good if we do absolute imports like shown in below ss? image

bjupreti commented 1 year ago

Looks good to me