Coder Social home page Coder Social logo

tanbinh123 / snipped-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shivamvk/snipped-server

0.0 0.0 0.0 86 KB

REST API on Springboot with MongoDB for Snipped - A salon booking app. It is deployed on AWS EC-2 instance attached to an Elastic IP.

Java 100.00%

snipped-server's Introduction

Snipped-Server

REST API on Springboot for Snipped - A salon booking app.

FAQ

@PostMapping(value="/faq") public Response insert( @RequestParam String ques, @RequestParam String ans)

@GetMapping(value="/faq") public Response getAllFaqs()

@DeleteMapping(value="faq") public String delete(@RequestParam String id)

MAIL

@PostMapping(value="/mail/order_placed") public String sendEmail(@RequestParam String email)

ORDER

@PostMapping(value="/order") public Response insert( @RequestParam String phone, @RequestParam String services, @RequestParam String amount, @RequestParam String address, @RequestParam String date, @RequestParam String time, @RequestParam String appointmentDate, @RequestParam String appointmentTime, @RequestParam String status, @RequestParam String remarks)

@GetMapping(value="/order") public Response getOrderByUser(@RequestParam String phone)

PUSH NOTIFICATIONS

@PostMapping(value = "/send_notification", produces = "application/json") public ResponseEntity send( @RequestParam String topic, @RequestParam String title, @RequestParam String text)

SERVICES

@PostMapping(value="/service/{category}/{subcategory}") public Response insertService(@RequestParam String name, @RequestParam int price, @PathVariable String category, @PathVariable String subcategory, @RequestParam String gender)

@GetMapping(value="/service") public Response getAllServices()

@GetMapping(value="/service/{category}") public Response getServicesByCategory(@PathVariable String category)

@GetMapping(value="/service/id/{idstring}") public Response getServicesById(@PathVariable String idstring)

SLIDER

@GetMapping(value="/get_all_images") public Response getAllImages()

USER

@PostMapping("/user") public boolean insertUser(@RequestParam String email, @RequestParam String name, @RequestParam String phone)

@PostMapping("/user") public boolean insertUser(@RequestParam String email, @RequestParam String name, @RequestParam String phone)

@GetMapping("/user/{phone}") public Response getUserByPhone(@PathVariable String phone)

@GetMapping("/user") public Response getAllUsers()

snipped-server's People

Contributors

shivamvk 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.