Author: @tirthakharel
Example deployment structure for React + Node.js applications
Can push this code to any Node.js deployment service
Make sure you inject the following environment variables:
- MYSQL_HOST (host url)
- MYSQL_DATABASE (database name)
- MYSQL_USER_ADMIN (username)
- MYSQL_PASSWORD (password)
- USER_TABLE (table name)
- JWT_KEY (secret key for signing JWT)