- Create
.env
file inbackend/src/config
- Copy contents from
src/config/.env.example
into.env
Refer Getting started with Amazon S3 to create S3 bucket
After configuring, update credentials for AWS S3 in .env
Refer Create a MySQL DB instance to create MySQL RDS
After configuring, update credentials for AWS RDS in .env
In order to send welcome emails, you will require a gmail account and app password. Follow this step-by-step guide
After configuring, update credentials for Automated Emails in .env
- Update
PORT
with the desired port to run the express server on - Update
JWT_TOKEN_SECRET
with a string to be able to sign JSON web tokens
Follow given steps to run drizzle migrations to RDS
# Generate database schema
$ npm run db:generate
# Run migrations
$ npm run db:migrate
Follow the given commands to start the server.
# Install dependencies
$ cd pixelle/backend
$ npm i
# Run server
$ npm run dev
The server should now be running on http://localhost:[PORT] (default: 3000)
If you encounter any issues, feel free to open a GitHub issue or reach out to the maintainers
Made with ♥️ by
Nav.