Code Monkey home page Code Monkey logo

sociome's Introduction

Welcome ๐Ÿ‘‹

Sociome is a API DEVELOPMENT PROJECT UNDER CODE FOR COMMUNITY ! capable of CRUD operation and this api is specific with Social Media Application Functionalities.

Python application View Project View Project View Project View Project View Project

Tech-Stacks Used ๐Ÿ”ฎ

python FastApi sqlalchemy git postgresql postman docker heroku

Project Walkthrough ๐Ÿš€

  • Sociome run on Python using FASTapi Framework Docs
  • The project is under the Guidance of Abhishek Kushwaha

Installation โ˜˜๏ธ

  • To install The Fastapi on the system

    pip install fastapi
    
  • To install all the dependiencies at once use :

    pip install fastapi[all]
    
  • Run the server in LocalHost:

    uvicorn main:app --reload
    
  • Open your browser at !

    http://127.0.0.1:8000/
    
  • Interactive API doc

    http://127.0.0.1:8000/docs 
    

Sample code ๐Ÿ› 

import datetime
from typing import Optional
import time
from datetime import date, time,datetime
from fastapi import FastAPI

app = FastAPI()


@app.get("/")
def read_root():
    return {"Messgaes": "Hey viewer ! i made it man !","Author":"Abhishek Kushwaha"}


@app.get("/items/{item_id}")
def read_item(item_id: int, q: Optional[str] = None):
    return {"item_id": item_id, "q": q}

@app.get("/author/{author_id}/{q}")
def read_item(author_id: int, q: Optional[str] = None):
    return {"item_id": author_id, "request": q ,"name":"Abhishek kushwaha"}

๐Ÿ™ Support

-This project needs a โญ๏ธ from you. Don't forget to leave a star โญ๏ธ

-Follow me here โœจ

-Contributions to the project are most welcome! ๐Ÿ˜Š

-Feel free to fork this repo and contribute. ๐Ÿ”ง

-Thank You!๐Ÿ‘

sociome's People

Contributors

abbhiishek avatar anjalig18 avatar anshitachoubey07 avatar beluga2003 avatar koushik-das123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sociome's Issues

voting system

create a voting system for the post with attributes of post_id and user_id as composite key

  • make dir with 0 and 1
  • 1 means the user want to vote
  • 0 means the user want to unvote but should have voted the post previously ....

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.