Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
cf25a3b
- Move the files from the own repo to the OGV fork
simarjot0032 Jul 31, 2025
c72c26b
- remove the DsStore file
simarjot0032 Jul 31, 2025
3f606bc
add the db save feature and the other api endpoint for model retrival
simarjot0032 Jul 31, 2025
23c767e
- fix: docker file for running the prisma generate before building
simarjot0032 Jul 31, 2025
50f9316
- fix: change from converted to g -> converted to obj
simarjot0032 Jul 31, 2025
554174d
- fix: docker for prisma for no seed
simarjot0032 Jul 31, 2025
c1ac34d
- Integrated the upload api in the frontend
simarjot0032 Aug 1, 2025
e6f33d5
- fix: added the chnage label on button while uploadin the file
simarjot0032 Aug 1, 2025
ff7b18a
- fix: code formating
simarjot0032 Aug 1, 2025
a38d495
- added the apis for getting the all models and getting specfic model…
simarjot0032 Aug 2, 2025
aac740c
-added the cron job to expire the model based on the time of creation
simarjot0032 Aug 4, 2025
b63dc74
- fix: not sending the ip adderes to the frontend
simarjot0032 Aug 4, 2025
259594c
- added the logic for file cleaning under the convertion api
simarjot0032 Aug 5, 2025
0b65824
-added the basic viewer setup
simarjot0032 Aug 14, 2025
26d27a3
- added the viewer
simarjot0032 Aug 20, 2025
df737f4
- fixed the eslint rules and its warnning and issues
simarjot0032 Aug 20, 2025
486cd9b
- improvemnts in scss and added the viewer setting option
simarjot0032 Aug 22, 2025
ecea096
- fix:icons on model viewer
simarjot0032 Aug 22, 2025
226571e
- added the preview model feature
simarjot0032 Aug 25, 2025
274ac68
- Fixed the import aliases and the typescript configuration
simarjot0032 Aug 26, 2025
39e2981
- Removed the Package-lock.json and the fixed the import aliases
simarjot0032 Aug 26, 2025
0b0cba7
- added the home page/ landing page
simarjot0032 Aug 28, 2025
8bce896
- fixed the units in scss
simarjot0032 Aug 28, 2025
a3204c8
- changed the working of the gcv to use the package
simarjot0032 Aug 29, 2025
1dc5dbc
- removed the home page
simarjot0032 Aug 30, 2025
f30d360
- implement some clean code practie for scss
simarjot0032 Aug 30, 2025
c3e6306
- replace older logic to use the package
simarjot0032 Sep 2, 2025
2142684
- added the uplading screen
simarjot0032 Sep 3, 2025
d6d1c8c
- updated url for the conversion package or module
simarjot0032 Sep 4, 2025
bf8df89
- updated the lock file
simarjot0032 Sep 4, 2025
7633607
- updated the yarn lock for vercel deplyment
simarjot0032 Sep 4, 2025
ba7edd9
- fixed the package removed extra deps
simarjot0032 Sep 4, 2025
e6dedf9
- removed the extra files
simarjot0032 Oct 14, 2025
556e6ec
updated the lock file and remove eslint errors
simarjot0032 Oct 14, 2025
bdae5bc
- added the vercel.json for build command
simarjot0032 Oct 14, 2025
cfd4b9d
- updated the three.js and remove the vercel.json
simarjot0032 Oct 14, 2025
fb9fd7f
downgrad the three.js so it can use the diffrent npm registry
simarjot0032 Oct 14, 2025
b066980
- fixed the deps
simarjot0032 Oct 14, 2025
787953f
- removed extra deps
simarjot0032 Oct 14, 2025
ccc7b2a
- readme fix
simarjot0032 Oct 24, 2025
eb1b567
- readme update
simarjot0032 Oct 24, 2025
1c35983
- remade update
simarjot0032 Oct 24, 2025
ff8c11c
- readme fix
simarjot0032 Oct 25, 2025
3df4e8d
- removed the MIME for now
simarjot0032 Oct 27, 2025
bfaad61
- fixed the mime check removed form converter also
simarjot0032 Oct 27, 2025
62eacac
- fixed the resposnisve text
simarjot0032 Oct 27, 2025
e641db6
- deps fixed
simarjot0032 Oct 27, 2025
a576dbc
- deps in lock file is fixed
simarjot0032 Oct 27, 2025
3f3e164
- Fixed the PR changes
simarjot0032 Feb 1, 2026
bdeda98
- Fixed the deps
simarjot0032 Feb 1, 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
444 changes: 431 additions & 13 deletions README.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
dist
.git
.vscode
Dockerfile
*.log
26 changes: 26 additions & 0 deletions backend/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Postgres connection string
DATABASE_URL="postgresql://your_db_user:your_secure_password@localhost:5434/your_db_name"
# Cloudinary account name
CLOUDINARY_CLOUD_NAME=""
# Cloudinary API key
CLOUDINARY_API_KEY=""
# Cloudinary API secret
CLOUDINARY_API_SECRET=""
# Base storage directory for uploads
UPLOAD_BASE_PATH="storage path"
# Public API path for uploaded files
UPLOAD_API_PATH="storage path"
# Local path for raw uploaded files
RAW_FILES_PATH="storage path"
# Local path for converted OBJ files
CONVERTED_TO_OBJ_PATH="storage path"
# Local path for generated thumbnails
THUMBNAIL_PATH="storage path"
# Public API path for converted files
CONVERSION_API_PATH="storage path"
# Local path used as converter input
CONVERTER_INPUT_PATH="storage path"
# Local path used as converter output
CONVERTER_OUTPUT_PATH="storage path"
# Local path for temporary files
TEMP_FILES_PATH="storage path"
15 changes: 15 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Node modules
node_modules/

# Build output
dist/

.DS_Store
# Prisma
/generated/prisma

docker-compose.yml
.env

# Upload directories (within source code)
uploads/
10 changes: 10 additions & 0 deletions backend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"useTabs": false,
"printWidth": 100,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always"
}
6 changes: 6 additions & 0 deletions backend/.vscode/setting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
36 changes: 36 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM node:22
WORKDIR /app

COPY package.json yarn.lock ./

RUN yarn install

COPY . .

RUN mkdir -p /cli && \
curl -L https://github.com/BRL-CAD/brlcad/releases/download/rel-7-40-2/BRL-CAD_7.40.2_Linux_x86_64.tar.bz2 -o /cli/brlcad.tar.bz2 && \
ls -l /cli && \
ls -lh /cli/brlcad.tar.bz2 && \
tar -xvjf /cli/brlcad.tar.bz2 -C /cli && \
ls -l /cli && \
chmod -R +x /cli/BRL-CAD_7.40.2_Linux_x86_64 && \
ls -l /cli/

ENV PATH="/cli/BRL-CAD_7.40.2_Linux_x86_64/bin:$PATH"
RUN echo 'export PATH="/cli/BRL-CAD_7.40.2_Linux_x86_64/bin:$PATH"'

RUN mkdir -p ./uploads/upload-api/raw \
./uploads/upload-api/converted-to-obj \
./uploads/upload-api/thumbnails \
./uploads/conversion-api/inputs \
./uploads/conversion-api/outputs \
./uploads/temp

RUN chmod -R 755 ./uploads

RUN npx prisma generate

RUN yarn build

EXPOSE 3000
CMD ["sh", "-c", "npx prisma migrate deploy && yarn start:prod"]
Loading