Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5a2dfd7
doc:updated doc
Arshad-code-7 Jun 11, 2026
1eea5d7
docs: add API, database design, and project structure
alanjoshy Jun 11, 2026
a909cc1
doc
alanjoshy Jun 11, 2026
a194e8c
Merge pull request #1 from alanjoshy/docs/api-updates
alanjoshy Jun 11, 2026
bfa088d
hy
abhinpavithrn Jun 11, 2026
d3d7198
Merge pull request #2 from alanjoshy/feature/feature-hy
alanjoshy Jun 11, 2026
c952437
deleted file
Arshad-code7 Jun 12, 2026
deb304c
Merge pull request #3 from alanjoshy/testing
Govind-M Jun 12, 2026
0c2b913
Sample text file
Govind-M Jun 12, 2026
cbc0ad6
Merge pull request #4 from alanjoshy/testing1
Govind-M Jun 12, 2026
98dd60c
Merge pull request #5 from alanjoshy/testing
Arshad-code7 Jun 12, 2026
c92d0cb
chore:Implemented initial configuration for frontend
Govind-M Jun 14, 2026
55ad863
Merge pull request #6 from alanjoshy/FE1-sprint1/initialconfig
Govind-M Jun 14, 2026
316b91a
chor:Implemented Auth Module
Govind-M Jun 17, 2026
cbed2f9
Merge pull request #7 from alanjoshy/M1-Auth-Users-sprint2
Govind-M Jun 17, 2026
4d3edae
feat:added the payment and booking model
alanjoshy Jun 19, 2026
13fb803
feat:added the booking service,schemas,router
alanjoshy Jun 19, 2026
faba27a
feat:added the venue models and editted some service file
alanjoshy Jun 19, 2026
e98d48e
chore:added the frontend pages
alanjoshy Jun 19, 2026
367380a
Sprint 02 venues and amenities module
abhinpavithrn Jun 21, 2026
a0e47f5
fix:fixed the duplicate base
alanjoshy Jun 23, 2026
02272c4
Merge branch 'development' into m3-sprint2
alanjoshy Jun 23, 2026
4329fcd
Merge pull request #9 from alanjoshy/m3-sprint2
alanjoshy Jun 23, 2026
2968e6d
Implemented google authentication
Govind-M Jun 23, 2026
63575c8
Google Auth
Govind-M Jun 23, 2026
609ca11
chore:removed duplicate db files
alanjoshy Jun 23, 2026
c1453e2
Merge pull request #10 from alanjoshy/m3-sprint2
alanjoshy Jun 23, 2026
5cc34ba
Merge branch 'development' of https://github.com/alanjoshy/BookMyVenu…
Govind-M Jun 23, 2026
184622a
chor:Implemented Authentication flow
Govind-M Jun 23, 2026
c7cf25d
Merge pull request #11 from alanjoshy/M1-Auth-Users-sprint2
Govind-M Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature / Module (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
- [ ] Documentation update

## Checklist:
- [ ] I have read the [Contribution Guidelines](CONTRIBUTING.md).
Expand Down
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# add the gitgnore files here

.venv/
backend/.venv/
backend/.env
__pycache__/
*.pyc
.pytest_cache/

# Sprint planning (local / team use)
documents/sprints/
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"python.defaultInterpreterPath": "${workspaceFolder}/backend/.venv/bin/python",
"python.venvPath": "${workspaceFolder}/backend",
"python.venvFolders": [".venv"],
"python.terminal.activateEnvironment": true,
"python.analysis.extraPaths": ["${workspaceFolder}/backend"],
"python.analysis.diagnosticMode": "workspace",
"pyright.venvPath": "${workspaceFolder}/backend",
"pyright.venv": ".venv"
}
150 changes: 150 additions & 0 deletions alembic.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# A generic, single database configuration.

[alembic]
# path to migration scripts.
# this is typically a path given in POSIX (e.g. forward slashes)
# format, relative to the token %(here)s which refers to the location of this
# ini file
script_location = %(here)s/migrations

# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s
# Uncomment the line below if you want the files to be prepended with date and time
# see https://alembic.sqlalchemy.org/en/latest/tutorial.html#editing-the-ini-file
# for all available tokens
# file_template = %%(year)d_%%(month).2d_%%(day).2d_%%(hour).2d%%(minute).2d-%%(rev)s_%%(slug)s
# Or organize into date-based subdirectories (requires recursive_version_locations = true)
# file_template = %%(year)d/%%(month).2d/%%(day).2d_%%(hour).2d%%(minute).2d_%%(second).2d_%%(rev)s_%%(slug)s

# sys.path path, will be prepended to sys.path if present.
# defaults to the current working directory. for multiple paths, the path separator
# is defined by "path_separator" below.
prepend_sys_path = .


# timezone to use when rendering the date within the migration file
# as well as the filename.
# If specified, requires the tzdata library which can be installed by adding
# `alembic[tz]` to the pip requirements.
# string value is passed to ZoneInfo()
# leave blank for localtime
# timezone =

# max length of characters to apply to the "slug" field
# truncate_slug_length = 40

# set to 'true' to run the environment during
# the 'revision' command, regardless of autogenerate
# revision_environment = false

# set to 'true' to allow .pyc and .pyo files without
# a source .py file to be detected as revisions in the
# versions/ directory
# sourceless = false

# version location specification; This defaults
# to <script_location>/versions. When using multiple version
# directories, initial revisions must be specified with --version-path.
# The path separator used here should be the separator specified by "path_separator"
# below.
# version_locations = %(here)s/bar:%(here)s/bat:%(here)s/alembic/versions

# path_separator; This indicates what character is used to split lists of file
# paths, including version_locations and prepend_sys_path within configparser
# files such as alembic.ini.
# The default rendered in new alembic.ini files is "os", which uses os.pathsep
# to provide os-dependent path splitting.
#
# Note that in order to support legacy alembic.ini files, this default does NOT
# take place if path_separator is not present in alembic.ini. If this
# option is omitted entirely, fallback logic is as follows:
#
# 1. Parsing of the version_locations option falls back to using the legacy
# "version_path_separator" key, which if absent then falls back to the legacy
# behavior of splitting on spaces and/or commas.
# 2. Parsing of the prepend_sys_path option falls back to the legacy
# behavior of splitting on spaces, commas, or colons.
#
# Valid values for path_separator are:
#
# path_separator = :
# path_separator = ;
# path_separator = space
# path_separator = newline
#
# Use os.pathsep. Default configuration used for new projects.
path_separator = os

# set to 'true' to search source files recursively
# in each "version_locations" directory
# new in Alembic version 1.10
# recursive_version_locations = false

# the output encoding used when revision files
# are written from script.py.mako
# output_encoding = utf-8

# database URL. This is consumed by the user-maintained env.py script only.
# other means of configuring database URLs may be customized within the env.py
# file.
# Use backend/alembic.ini — DATABASE_URL comes from backend/.env
sqlalchemy.url = driver://user:pass@localhost/dbname


[post_write_hooks]
# post_write_hooks defines scripts or Python functions that are run
# on newly generated revision scripts. See the documentation for further
# detail and examples

# format using "black" - use the console_scripts runner, against the "black" entrypoint
# hooks = black
# black.type = console_scripts
# black.entrypoint = black
# black.options = -l 79 REVISION_SCRIPT_FILENAME

# lint with attempts to fix using "ruff" - use the module runner, against the "ruff" module
# hooks = ruff
# ruff.type = module
# ruff.module = ruff
# ruff.options = check --fix REVISION_SCRIPT_FILENAME

# Alternatively, use the exec runner to execute a binary found on your PATH
# hooks = ruff
# ruff.type = exec
# ruff.executable = ruff
# ruff.options = check --fix REVISION_SCRIPT_FILENAME

# Logging configuration. This is also consumed by the user-maintained
# env.py script only.
[loggers]
keys = root,sqlalchemy,alembic

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = WARNING
handlers = console
qualname =

[logger_sqlalchemy]
level = WARNING
handlers =
qualname = sqlalchemy.engine

[logger_alembic]
level = INFO
handlers =
qualname = alembic

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S
11 changes: 11 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
APP_NAME=BookMyVenue
APP_ENV=development
DEBUG=true
HOST=0.0.0.0
PORT=8000
DATABASE_URL=postgresql://postgres:password@localhost:5432/bookmyvenue
SECRET_KEY=change-me-to-a-long-random-string
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
5 changes: 5 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
venv/
__pycache__/
*.pyc
.env
bookmyvenue.db
Loading