Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create dockerfile and compose for easier dev env reproduce #8

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
051a4e2
Added Subdistrict, Zipcode, Register Page
Jun 12, 2023
0d9180d
Added Swagger
Jun 12, 2023
387c6b4
Create .gitignore
Jun 12, 2023
3c9b8e5
Merge pull request #1 from kaogeek/renovate/configure
Jun 12, 2023
7f85864
Register Member
Jun 12, 2023
1a01f55
Merge branch 'main' of https://github.com/kaogeek/bkk-ptc-budget
Jun 12, 2023
5113637
Make Responsive for Search box and List Project
Jun 13, 2023
15aba3c
Changed API URL
Jun 13, 2023
73ec440
Add Password and Redirect after Register
Jun 13, 2023
0ec386d
Update register.vue
Jun 13, 2023
55b298f
Add Role for Navbar
Jun 13, 2023
534ab13
Update register.vue
Jun 13, 2023
bb56736
Add New Project
Jun 13, 2023
36a63c7
Added community api
Jun 13, 2023
c2d9967
Hardcode for Token
Jun 13, 2023
c86d560
Remove DB Username and Password and Host Details for Security
Jun 13, 2023
d22418d
Update .gitignore
Jun 13, 2023
ea2d986
Updated GIT
Jun 13, 2023
d155094
Update dependency @types/node to v18.16.18
renovate[bot] Jun 13, 2023
d628753
Merge pull request #3 from kaogeek/renovate/node-18.x-lockfile
Jun 13, 2023
227a264
Create README.md
ibsfb Jun 13, 2023
89cc527
Make Equal Height Card
Jun 21, 2023
29dddd7
Added Label Project Status on card
Jun 21, 2023
9e81c2a
Updated
Jun 27, 2023
c58c1d1
Updated
Jun 27, 2023
3a245b9
Updated
Jun 27, 2023
1cb8df5
Fixed Bug
Jun 27, 2023
2617999
Updated
Jun 27, 2023
a95668f
Change Link
Jun 27, 2023
72dd9e0
Updated
Jun 27, 2023
3c88fe0
Updated
Jun 27, 2023
f334aa6
create dockerfile and compose for easier dev env reproduce
wasdee Jun 27, 2023
b7f8654
add db
wasdee Jun 27, 2023
e11baa8
fix serving cmd
wasdee Jun 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
user=postgres
password=postgres
database=postgres
host=database
port=5432
TOKEN_SECRET=secret

POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Nuxt dev/build outputs
.output
.nuxt

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store

# Local env files
.env.*
.env
!.env.example

43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Bangkok Participatory Budgeting

Welcome to the Bangkok Participatory Budgeting project! This initiative aims to involve the community in decision-making processes by allowing them to voice their needs and preferences for local projects. By contributing in this project, you have the opportunity to help shape the allocation of resources and develop your community.

## Introduction

In Bangkok Participatory Budgeting, we believe that everyone deserves a say in how public funds are utilized. This project focuses on creating an open and transparent platform where community members can express their needs and suggestions for local projects. By leveraging community input, we can ensure that resources are allocated effectively and aligned with the actual requirements of the people.

## Community Involvement

The community plays a crucial role in shaping the Participatory Budgeting process. Here's how bangkok people can get involved:

1. Visit our website and list the projects they believe should be prioritized for your community.
2. Provide project suggestions without any restrictive conditions, ensuring transparency and preventing officials from making biased decisions.
3. Participate in discussions and consultations to help refine and prioritize the community's needs.
4. Support the initiative by promoting awareness among fellow community members and encouraging their active participation.

## Government's Role

The government acknowledges the importance of community needs and is committed to supporting the Participatory Budgeting process. Here's what the government will do:

1. Verify the authenticity and relevance of community needs and suggestions through proper referencing.
2. Compare and analyze data from multiple communities, if applicable to more than 1 community.
3. Combat corruption by refraining from purchasing items that the community does not require.
4. Publish transparent and easily accessible median prices on our website for reference and accountability.

## Timeline

Our timeline for the Bangkok Participatory Budgeting project is as follows:

- **June:** Collect data and gather input from the community.
- **July:** Evaluate and select projects based on community needs and available resources.
- **Note:** We will do our best to adhere to this timeline for the website, but unforeseen circumstances may cause slight delays.

## Contributing

We welcome contributions from the community to enhance the Participatory Budgeting project.

## License

This project is licensed under the [MIT License](LICENSE). Feel free to use, modify, and distribute it as per the terms of the license.

We appreciate your participation and look forward to building a better Bangkok together!
12 changes: 12 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from node:18

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm install

COPY . .


CMD ["npm", "start"]
1 change: 0 additions & 1 deletion backend/node_modules/.bin/mime

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/nodemon

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/nodetouch

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/nopt

This file was deleted.

1 change: 0 additions & 1 deletion backend/node_modules/.bin/semver

This file was deleted.

Loading