Skip to content

Kr1an/jsdoc-react-express-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample of JSDoc usage in express & react application

Available commands should be run from root folder of the repository

Server expects that mongodb runs on localhost which is specified by MONGODB_CONN_STR env variable in server/.env

yarn --cwd server start

Starts server on port 8000 which is specified by API_PORT env variable in server/.env

Client code expects server to be up. Server url is configured by REACT_APP_SERVER_URL env variable in .env

Client code uses its own url to generate urls for sharing. Configured by REACT_APP_CLIENT_URL env variable in .env

Styles are a bit messy in client application. It's not the main point of this sample thought

yarn start

Starts client server on port 3000. Open this port in browser to visit client application.

App is capable of showing bins by url

App is capable of creating bin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published