Typescript-Express API powering the TechTimes website ๐
- Clone the repository
git clone https://github.com/sitechtimes/techtimes-api
- Create a dotenv file
JWT_KEY=[INSERT DEV JWT_KEY HERE]
MONGO_URI=[INSERT DEV MONGO_URI HERE]
EMAIL_USER=[INSERT DEV EMAIL_USER HERE]
EMAIL_PASSWORD=[INSERT DEV EMAIL_PASSWORD HERE]
URL=[INSERT URL OF SITECHTIMES CMS HERE]
- Install dependencies for all services
bash scripts/npm-install.sh
- Install mongodb community edition and start running a local instance
mongo // when connecting to uri remove compressors=disabled
- Install sls-multi-gateways
npm install -g sls-multi-gateways
- Start running the services using sls-multi-gateways
sls-multi-gateways