Skip to content

EvgeniyGorbachev/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Backend - Expressjs apps (REST API)

Local Setup

Install Node.js stable release. This will also include the node package manager (npm). Install imagemagick on the server.

Change directory:

cd backend/

Install node modules

npm install

Create .env file (for example .example-env)

Run migration

sequelize db:migrate

Run REST API (localhost:8181)

npm run api

Now browse to the app at [localhost:8181].

##Frontend - AngularJS apps

Local Setup

Change directory:

cd frontend/angular-seed/

Install node modules:

npm install

Setup REST API url

Create new file like frontend/angular-seed/app/config.js, use for example config.example.js and set the local url (http://localhost:8181) to actual domain instead

Run the Application

We have preconfigured the project with a simple development web server. The simplest way to start this server is:

npm start

Now browse to the app at [localhost:8000].

How to pass parameters to an application

Example: http://localhost:8000/#/main?userName=Mick&email=email@google.com&phone=123456789

Troubleshooting:

  1. You may need to install sequelize globally:
$ npm install -g sequelize-cli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published