Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rust backend with auth routes #3645

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Add Rust backend with auth routes #3645

wants to merge 10 commits into from

Conversation

chrisgzf
Copy link
Member

In preparation for our future reviews system that makes use of our own database (so that we can get rid of Disqus - they have been injecting ads into our site, bleh), this is a bootstrapped new 🦀Rust🦀 backend.

What's done:

What's next:

  • Setting up of the DB (I'm still deciding between Postgres or Clickhouse)
  • Migrating disqus comments to the DB
  • GET api/v1/reviews/:course_id -> Vec<Reviews>
  • POST api/v1/reviews/:course_id: should create review
  • PUT api/v1/reviews/:course_id/:review_id: should edit review
  • DELETE api/v1/reviews/:course_id/:review_id: should delete review

🦀🦀🦀

@chrisgzf chrisgzf requested a review from a team December 17, 2023 17:24
Copy link

vercel bot commented Dec 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nusmods-export ✅ Ready (Inspect) Visit Preview Dec 17, 2023 5:24pm
nusmods-website ✅ Ready (Inspect) Visit Preview Dec 17, 2023 5:24pm

Copy link

codecov bot commented Dec 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (17c4bc3) 53.24% compared to head (ee789f6) 53.24%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3645   +/-   ##
=======================================
  Coverage   53.24%   53.24%           
=======================================
  Files         271      271           
  Lines        5862     5862           
  Branches     1396     1396           
=======================================
  Hits         3121     3121           
  Misses       2741     2741           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant