Coder Social home page Coder Social logo

cadl's Introduction

2022 Update:

CADL is now pretty much dead. I may pick it back up at some point, but ideally as a self hostable 3D asset library.

Happy to collab if anyone wants to work on this with me. Just shoot me an email.

CADL - An open source CAD Library with 3D rendering

Designed and built to host a variety of CAD files at NoiseBridge Hackerspace, CADL is an open source tool for anyone who wants to visualize and share a variety of CAD projects.

cadl

Installing and running

This is a monorepo structure using the 'concurrently' package to manage a Node API and React front end.

Downloading and running:

Clone the Repo

Run npm i from parent level to install dependencies

Run npm run client to start the react front-end in dev mode (react dev server)

Run npm run server to start the server in dev mode (nodemon)

Run npm run dev to concurrently run the server and client


Server

This is a node/express API connected to a MongoDB Database. This API relies on the AWS SDK to connect to an S3 Bucket for file storage

Running from top level:

npm run server

Dependencies

  • "aws-sdk": "^2.520.0"
  • "body-parser": "^1.19.0"
  • "cors": "^2.8.5"
  • "dotenv": "^8.1.0"
  • "express": "^4.17.1"
  • "mongoose": "^5.6.13"
  • "multer": "^1.4.2"
  • "multer-s3": "^2.9.0"
  • "node-fetch": "^2.6.0"
  • "nodemon": "^1.19.1"

React UI

React front end with extensive THREE.JS implementation for rendering and editing CAD files.

Running from top level:

npm run client

Dependencies

  • "bootstrap": "^4.3.1"
  • "react": "^16.9.0"
  • "react-bootstrap": "^1.0.0-beta.12"
  • "react-dom": "^16.9.0"
  • "react-router-dom": "^5.0.1"
  • "react-scripts": "3.1.1"
  • "three": "^0.107.0"

API Documentation

Routes: GET all Projects: api/projects

GET all Designs: api/designs

Get all Categories: api/category

GET Specific Project: api/project/project_name

GET Specific Design: api/designs/design_name

GET Specific Category: api/category/category_name

cadl's People

Contributors

dependabot[bot] avatar tylermaran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.