Git Product home page Git Product logo

divehq-backend-internship-task's Introduction

Dive logo Dive

Deployment

The application is deployed on Vercel: https://api-calories-drf.vercel.app

About

This repository is a Calorie Tracker Web Application built using Django Rest Framework and SQLite3 database.The application allows users to enters their meals and thereby manage their calorie intake. The application also allows managers to keep track of their users
It was developed as a part of the Backend Internship Task for DiveHQ for the Github Octernship program.

Features

  1. Sign up/ Sign in to the Web Application
  2. Mantain Calorie intake
  3. Set Goals
  4. Managers can access their users meals
  5. Get Calorie intakes for meals without knowing it
  6. Create, Update , See and Delete meal entries

Repository Setup

  1. Clone the repository to your local machine:

    $ git clone <repository-url>
    
  2. Navigate to the project directory and change into the backend directory:

    $ cd <directory>
    
  3. Create and activate a virtual environment (optional but recommended):

    $ poetry install
    
  4. Install the required dependencies and setup database:

    $ poetry run ./build.sh
    
  5. Startup the server:

    $ poetry run ./manage.py runserver
    
  6. (Optional) Create a superuser to access the admin interface:

    $ poetry run ./manage.py createsuperuser
    
  7. Open web browser and visit http://localhost:8000/ to access the project.

  8. Go to visit http://localhost:8000/user/register to create an account. Only authenticated Users can access the web app

  9. Use http://localhost:8000/tracker/ to create and view entries.

Running the API Server Locally

  • Run the following command to start the API server:
    $ python manage.py runserver 8000
    
    The API server will start, and you can access it at http://localhost:8000/ in your web browser. Make sure to replace 8000 with the appropriate port number if you have configured a different port for your Django project.

divehq-backend-internship-task's People

Contributors

ananyo141 avatar ashwinexe avatar omprakash95 avatar prayashm avatar

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.