Skip to content

A ReactJS app to show how to get signature in a form online and generate pdf on the server side, which then can be emailed or sent to other APIs.

License

Notifications You must be signed in to change notification settings

bnbabu55/react-sign-form-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-react-app React Project with Node Express Backend

Example on using create-react-app with a Node Express Backend

Usage

Install server and client dependencies

yarn
cd client
yarn

To start the server and client at the same time (from the root of the project)

yarn dev

Running the production build on localhost. This will create a production build, then Node will serve the app on http://localhost:5000

NODE_ENV=production yarn dev:server

How this works

The key to use an Express backend with a project created with create-react-app is on using a proxy. We have a proxy entry in client/package.json

"proxy": "http://localhost:5000/"

This tells Webpack development server to proxy our API requests to our API server, given that our Express server is running on localhost:5000

About

A ReactJS app to show how to get signature in a form online and generate pdf on the server side, which then can be emailed or sent to other APIs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published