Opensource crowdfunding platform for social activists, who don't want to involve into obsolete corrupted parties, but are bright and willing for change.
Project appeared in Ukraine, when group of activists decides that Direct Democracy is the instrument of truly agile governments, ready to be open for challenges and react on them.
Our goals for this tool are
Idea was verified on EGAP Hackaton Challenge with support of bright experts and moving forward.
This project was generated with Angular CLI and Typescript:
npm install -g typescript@next
npm install -g angular-cli
To develop locally, you need to MongoDB installation.
cd nestjsserver && npm i
docker-compose up
- run mongoserver:start:dev
to serve server in dev modehttp://localhost:3001/docs/
git clone https://github.com/rostag/bigpolicy_eu.git <app_dir>
npm install
Please note: you need at least npm 3.
mongod --dbpath data/db
Please note — path to database may be different on your machine. It's better to keep your DB files outside the source folder to avoid leaking DB files into project repository.
Windows notes Add mongodb to PATH run mongo server manually: a) go to default folder of mongo e.g.
C:\Program Files\MongoDB\Server\3.2\bin
and enter command:
mongod.exe --dbpath path_to_bin_mongo_folder
This will show waiting for connections message on the console output, which indicates that the mongod.exe process is running successfully.
At this moment, you run both ng
and node
commands. ng watches and rebuilds, node serves as web + mongodb. Run ng to build, telling it to watch and rebuild sources:
npm run db
npm run server
npm run client
Visit localhost:5000 -- this is your local application.
After you edited and saved a file, the project is being rebuilt automatically. But you need to manually refresh the page in browser to see the changes (we'll fix it later)
npm install --save firebase-functions@latest firebase-admin
npm install -g firebase-tools
To run functions locally, use firebase serve:
firebase serve --only functions,hosting --port 5000 # to emulate both functions and hosting
(as per https://firebase.google.com/docs/functions/local-emulator)
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/route/class
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
Use ng --help
or go check out the Angular CLI README.
Please see BigPolicy Contributing Doc(to be updated)
MIT