GithubHelp home page GithubHelp logo

yan-fung / backend-hashtag-generator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 117 KB

Command Shift Bootcamp Final Project - Hashtag Generator

JavaScript 100.00%
docker nodejs authentication axios express jsonwebtoken postgresql postman sequelize

backend-hashtag-generator's Introduction

# 📱 Hashtify - Hashtag Generator App

Introduction

This is the backend for #️Hashtify app (frontend repo here) This group project was created by Geroge and Yan as part of the Command Shift bootcamp course.

Quick Start and Commands

  1. Clone the repo:
git clone gh repo clone yan-fung/backend-hashtag-generator
  1. Run the development server for the app. It listens on port 4000.
npm start
  1. To test the codes in tests folder
npm test
  1. Download Postman and pgAdmin and use them to check if the CRUD operations is working.

Development Mode

The server side Express code will be served by a node server using Nodemon which helps in automatically restarting the server whenever server side code updates.

API Endpoints and Methods

Auth endpoints and methods

Methods URLs Actions
POST /auth/:id handle authentication

Hashtag endpoints and methods

Methods URLs Actions
GET /hashtags get all hashtags
GET /hashtags/:id/hashtag get all hashtags by user id
GET /hashtags/:category get all hashtags by category
GET /hashtags/:id/:category get specific hashtags by user id
POST /hashtags add hashtags
DELETE /hashtags/:id remove hashtag by id

APIs Used

RiteKit API

  • Generate hashtags by image

  • Generate hashtags by keyword

  • Hashtag stats

Thank You

Thank you to my teammate - Geroge and all the tutors and everyone in our cohort at Command Shift.

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.