| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Example Serverless Typescript codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
check out the repository
https://github.com/QingpingMeng/medium-clone-api.git
install dependencies
yarn install
start a local mongodb instance
yarn add mongodb -g mongod --dbpath=<db-path>
run serverless offline:
yarn start
A few tests will fail for some reasons. PRs are welcome.
yarn test
Create a env file called env.yml with the following content for deployment.
prod: db: <your-db-connection-string>
And run deployment command.
yarn deploy
This project is licensed under the MIT License - see the LICENSE.md file for details
| Back | FazBrowse Home | New Git URL |