Prebuilt api for slack app clone.
This project is the API for creating a slack clone. No need to understand any of code here. But if you are interested in taking your development skills to the next level, check out our API course.
/v1/account/login
/v1/account/register
authenticated
for each of your new routes on any request that must first have an authenticated user
authenticated
middlewaresrc/config/index.js
package.json
file lists all of the npm dependenciessrc/config/index.js
"port": 3005
"mongoUrl": "mongodb://localhost:27017/chat-api"
# Install dependencies
npm install
npm run dev
npm run build
#### Run a live online instance
* Go to `src/config/index.js`
* change port to `"port": process.env.PORT`
* change mongoUrl to `"mongoUrl": process.env.MONGODB_URI`
You can also spin up a free Heroku dyno to test it out:
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/devslopes/mac-chat-api)