Skip to content

Latest commit

 

History

History
51 lines (27 loc) · 1.51 KB

README.md

File metadata and controls

51 lines (27 loc) · 1.51 KB

Getting Started 🔩

Install node

This application supports Node >= v10.x.x. Please download a relevant version from here.

I would highly recommend to setup nvm.

AWS setup

  • Add "jwt-token-key" and "mongo-conn-string" keys to AWS Secrets Manager
    • jwt-token-key is used as the encryption key for your credentials on local storage.
    • mongo-conn-string is the connection string of your mongo cluster.

Read through this document to be able to connect to AWS resources from your local machine.

MongoDB setup

Here are three ways to get this done :

PS : If you use DocumentDB, local testing might be a bit cumbersome as you can't connect to a cluster from outside of its VPC.

Application Boot Steps

Move into the directory where you'd like to manage this project.

git clone https://github.com/mbad0la/naive-twitter.git

cd naive-twitter

npm i

npm run build

npm start

🏁 Open localhost on your browser

Troubleshooting

  • After every change to client codebase, please run npm run build again.