This is the frontend component of the Reception Slackbot. It is the interface with which to interact with the backend API.
npm install
- Check the
config/dev.env.js
file and set the appropriate variables -
- Change
API_URI
to the URI that the backend API is being served
- Change
-
- Make sure
NODE_ENV
is set to 'development' for development or 'production' for production
- Make sure
- Start the server via
npm run dev
If everything goes well, you should see:
Listening at http://localhost:8080
(or whatever port you have open above 8080)
and the app should open in your browser.
You can now update the code in your Vue application and have the browser hot-reload the changes.
- Start the build process via
npm start
- Serve the built files (located in the
/dist
folder via your favorite webserver)
The first user that is created from the Sign Up page will be given Admin rights. All subsequent users need to be verified by an Admin. Users can be verified by clicking on their username in the admin panel and then clicking Verify.
In order for an external source to access the API (such as an Alexa skill or another website), an API key needs to be created and sent with each request as a Bearer token. The API key can be created on the Admin panel.