Skip to content

farlandlee/tworep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tworeporters.com

a little project I did for a client to create a blazing fast searchable archive of 40+ years of newspaper reporting. The project is built on the MERN stack. It uses nodemailer to send contact us emails to the client.

to set up:

  1. clone repo into its own directory.

  2. cd into the directory

  3. run npm install

  4. cd into server

  5. run node index to start the server

  6. Open a new terminal window and..

  7. cd into client

  8. run npm start to start the client

  9. You will need to set REACT_APP_RECAPTCHA_PUBLIC_KEY to a valid recaptcha key in your .env for recaptcha to work.

todo: use next.js or gatsby.js to make site better for SEO. todo: add admin side to allow articles to be managed.

On the Production Server:

To check the status of the app: sudo systemctl status tworeporters to start the app: sudo systemctl start tworeporters to restart the app: sudo systemctl restart tworeporters to stop the app: sudo systemctl stop tworeporters

to deploy to the server: npm run client:build-deploy npm run server:deploy

will build and deploy the react app and deploy the server respectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published