Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarukuku/mis
https://github.com/sarukuku/mis
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sarukuku/mis
- Owner: sarukuku
- Created: 2019-11-26T16:13:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T12:23:32.000Z (about 2 years ago)
- Last Synced: 2024-04-24T11:48:57.386Z (9 months ago)
- Language: JavaScript
- Size: 1.09 MB
- Stars: 0
- Watchers: 6
- Forks: 2
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MIS tool
A tool to **MAKE MARKETING GREAT AGAIN!** And by the way MIS stands for Marketing International Sync.
## Getting Started
Setup a database. You can use a service such as mlab.com or mongodb.com. Both offer free databases for development. Mongodb.com has an easy to follow wizard for getting set up. Add the url to the .env file.
To start developing run:
```
npm i
npm run watch
```## Setting up authentication with Google
For the authentication to work you will have to setup OAuth 2.0 with Google. You need access to Google Cloud and it has to have a domain setup. Steps:
1. Create a new project.
2. Add credentials:- Choose `Internal` project
- Add the origin uri to Authorized JavaScript origins e.g. `http://localhost:3000`, `https://mysuperapp.com`
- Add the Authorized redirect URIs. Make sure it has the path `/auth/callback`. e.g. `http://localhost:3000/auth/callback`, `https://mysuperapp.com/auth/callback`3. You will get a client id and a secret.
Add the ID, secret to the .env file. Add the allowed domain in the env file also. This is original domain name of the Google account.
Note! To start the app with authentication, remember to set in the .env file GOOGLE_AUTH_ENABLED to true.