Skip to content

arn-ob/ssr-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Buy Me A Coffee"

Introduction

SSR Fetch based on Next JS.

Installation

Use npm or Yarn

$ npm install ssr-fetch
$ yarn add ssr-fetch

Example

// here the base url <url>/api

let login: any = await rPost('/login', { email, password })

// so after the use the ssr-fetch package the post request use like
// <url>/api/login

Thank you.

License

MIT

About

SSR Fetch for Next JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published