GithubHelp home page GithubHelp logo

backend-internship-task's Introduction

Dive logo Dive

Octernship info Timelines and Stipend
Assignment Deadline 19th June 2023
Octernship Duration 3rd July 2023 - 3rd October 2023
Monthly Stipend $500 USD

Assignment

Write a REST API for the input of calories in Python

Task Instructions

  • API Users must be able to create an account and log in.
  • All API calls must be authenticated.
  • Implement at least three roles with different permission levels: a regular user would only be able to CRUD on their owned records, a user manager would be able to CRUD only users, and an admin would be able to CRUD all records and users.
  • Each entry has a date, time, text, and number of calories.
  • If the number of calories is not provided, the API should connect to a Calories API provider (for example, https://www.nutritionix.com) and try to get the number of calories for the entered meal.
  • User setting – Expected number of calories per day.
  • Each entry should have an extra boolean field set to true if the total for that day is less than the expected number of calories per day, otherwise should be false.
  • The API must be able to return data in the JSON format.
  • The API should provide filter capabilities for all endpoints that return a list of elements, as well should be able to support pagination.
  • Write unit and e2e tests.
  • Use any Python web framework
  • Use SQLite as the database

Task Expectations

  • API Design Best Practices
  • Documentation of any assumptions or choices made and why
  • Links as citation to any article / code referred to or used
  • Unit tests covering the core calories logic
  • Appropriate exception handling and error messages
  • Code Quality - remove any unnecessary code, avoid large functions
  • Good commit history - we won’t accept a repo with a single giant commit πŸ™…β€β™€οΈ

Task submission

Using the GitHub Flow for assignment submission

  1. Creating a new branch
  2. Raising a Pull Request for submission
  3. Using GitHub Discussions to ask any relevant questions regarding the project
  4. Final submission Checklist:
  • SUBMISSION.md in the repository / PR, with:
    • commands to set up the repo (dependencies etc.)
    • commands to run the test suite
    • commands to run the API server

backend-internship-task's People

Contributors

ashwinexe avatar omprakash95 avatar prayashm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

backend-internship-task's Issues

Submission Format

I want clarification. Should the solution be on this repo by creating a new branch?

Github Classroom

Hello sir, please how can I make submissions on github classroom. I have no idea how, can you please help.

Candidacy Confirmation

Hello, I applied for the octernship when it was first announced and noticed that only around 50 students had registered at that time. However, I encountered what I believed to be a glitch as the project did not appear in my task section on the octernship page. Today, I attempted to apply again and received a notification stating that the limit had been reached and applications were no longer being accepted. I assure you that I submitted my application on time and also completed the project as required.
Screenshot 2023-06-14 at 9 10 46 PM

Screen.Recording.2023-06-14.at.9.15.04.PM.mov

Could you kindly confirm if my candidacy for this position has been accepted? Thank you.

Can I get a new repo

Hello, my name is Abhishek. Currently, I am working on backend API project using fastApi. Unfortunately, I made a few errors during the process, and the biggest mistake I made was forgetting to add a gitignore file at the start of the project. As a result, I am now facing difficulties and would appreciate your assistance in starting the project again. Although I have almost completed it, I had used the rebase command, which has caused some issues.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.