Giter Site home page Giter Site logo

hackathon's Introduction

Assignment for a back-end development internship

This is Test Assignment submission for Back End Internship with AI Planet

Task

  • Create a submissions app where one can submit their hackathon submissions & see the list.
  • The hackathon can be posted by anyone and they will be authorized before they are allowed to post hackathons. Users should be able to come and submit some code or files as hackathon submissions.
  • Create different APIs for various task.
  • Unit Tests

How to run

# Fetch the repo using git
$ git clone https://github.com/Rushijaviya/Hackathon.git

# Go to the directory
$ cd Hackathon

# Install a compatible version
$ pip install -r requirements.txt

# Database Migrations
$ python manage.py makemigrations
$ python manage.py migrate

# To run server
$ python manage.py runserver

# For Testing
$ python manage.py test

API Details:

1. Create Hackathon
- URL: api/v1/create-hackathon/
- Request Type: POST
- Request Body: title, created_by, submission_type, start_date, end_date, reward_prize, background_image, hackathon_image, description
2. List Hackathon
- URL: api/v1/get-hackathon-list/
- Request Type: GET
- Optional: live/past/future
3. Register to Hackathon
- URL: api/v1/register-to-hackathon/
- Request Type: PATCH
- Parameter: hackathon_id, user_id
4. Make Submission
- URL: api/v1/create-user-submission/
- Request Type: POST
- Request Body: name, Summary, submission_image, submission_file, submission_link, submitted_by, hackathon
5. User list Hackathon
- URL: api/v1/get-user-hackathon-list/
- Request Type: GET
- Parameter: username
- Optional: live/past/future
6. User view Submission
- URL: api/v1/view-user-submission/
- Request Type: GET
- Parameter: user_id
- Optional: hackathon_id

Note:

  • No Front-end is made as goal is to develop APIs.
  • You can use postman for API Testing.

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.