A web application allowing its users to search up to 25 company domains by entering the company names /separated by commas/.
-
- Node.js - see .nvmrc for the Node.js version, preferably use nvm (installation guide, nvm use).
- To run the server make sure you provide Google Custom Search Api Key and search engine and MongoDB URI as environment variables. For testing purposes or running locally you can add an .env file at the following location
./server/.env
file with the content
GOOGLE_AUTH=[your API key] GOOGLE_CX=[search engine] MONGO_URI=[MongoDB URI]
- Run
npm run setup
to setup all projects dependencies. - Start the sever by
npm run server:run
. - Run the web application by
npm run app:run
.
Run npm start
You can run both the server's and app's tests by npm test
.