Git Product home page Git Product logo

week-21-muhammad-avicena's Introduction

readme_header

Fancy to see you here

hi, I'm Muhammad Avicena. In this repo, I build a simple back-end API with Hexagonal Architecture using Flask-python. If you have any question or feedback, hit me up at anytime !

I am committed to staying up-to-date with industry trends and using the latest tools to develop innovative solutions that surpass expectations. Interested to have collaboration ? Find me on:

Linkedin Badge Youtube Badge Instagram Badge Gmail Badge

INGREDIENTS I USE 📜

  • App
    • Python
    • Flask
    • SQLAlchemy

HOW TO SET UP 📰

You will need a github account to clone this repository, make sure you're connected to github.

# Clone this repository or simply fork it.

- git clone https://github.com/RevoU-FSSE-2/week-21-muhammad-avicena.git

# Install depedencies

- pipenv install

# Set up the .env file, follow the template from `.env.example`.

    DATABASE_URL = ""
    SECRET_KEY = ""
    FLASK_ENV = "development"

# Run the application

- pipenv run flask run --debug

AVAILABLE API 📰

Name HTTP Method Endpoint Requirements
Login User POST /auth/login Request Body: username: string, password: string
Register User POST /auth/registration Request Body: username: string, password: string
Get User Profile GET /user Request Headers: Bearer Token
Post a Tweet POST /tweet Request Headers: Bearer Token, Request Body: tweet: string
Following POST /following Request Headers: Bearer Token, Request Body: user_id_to_follow: user_id_to_unfollow

SQLALCHEMY DATABASE USING SUPABASE⚙️

database

I have successfully connected with Open-Source database named Supabase, it's super easy to use !

Feel free to explore the website and try out the different features. I appreciate any feedback and suggestions to further improve the user experience.

week-21-muhammad-avicena's People

Contributors

muhammad-avicena avatar github-classroom[bot] avatar

Watchers

Alvian Zachry Faturrahman avatar Guntur Kurniawan Heryanto 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.