Skip to content

A newsletter application that send mail about some usefull technical resource to the subscripted user's email in every week.

Notifications You must be signed in to change notification settings

saminyasar004/resource-newsletter-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resource Newsletter (Server)

A newsletter application that send mail about some usefull technical resource to the subscripted user's email in every week.

Website Facebook Follow Facebook Page Instagram Follow Twitter Follow Stack Overflow Github Follow

API Reference

Author Endpoints

Get essential information for Author

  GET /api/v1/author
Header Type Description
Bearer Token string Required. Your JWT Authentication Token

Registration for Author

  POST /api/v1/author/register
Body (JSON) Type Example Description
name string John Smith Required. Your Full Name
email string john.smith@example.com Required. Your Valid Email
password string password Required. Your Password
resources string [{title: "Resource Title", description: "Resource Description", url: "http://resource.url.com"}, ...] Required. Your Resources
dayToSend string sat|sun|mon|tue|wed|thu|fri Required. Shortname of a day.

Login for Author

  POST /api/v1/author/login
Body (JSON) Type Example Description
email string john.smith@example.com Required. Your Valid Email
password string password Required. Your Password

Edit Author

  PATCH /api/v1/author
Body (JSON) Type Example Description
name string John Smith Your Full Name
password string password Your Password
resources string [{title: "Resource Title", description: "Resource Description", url: "http://resource.url.com"}, ...] Your Resources
dayToSend string sat|sun|mon|tue|wed|thu|fri Shortname of a day.

Delete Author

  DELETE /api/v1/author

Subscribers Endpoints

Subscribe for a new Email address

  POST api/v1/newsletter
Body (JSON) Type Example Description
email string john.smith@example.com Required. Your Valid Email

Happy Coding 🚀

About

A newsletter application that send mail about some usefull technical resource to the subscripted user's email in every week.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published