- π Table of Contents
- π Overview
- π¦ Features
- π repository Structure
- βοΈ Modules
- π Getting Started
- π£ Roadmap
- π€ Contributing
- π License
- π Acknowledgments
The Veplo-ts project is a powerful solution leveraging Apollo Server to build efficient, scalable APIs using GraphQL. Its Dockerfile enables simplified deployment, making it an effective tool for streamlining web development. Its value lies in facilitating rapid API development and ensuring robust, flexible web applications.
HTTPStatus Exception: 429
βββ Veplo-ts/
βββ Dockerfile
βββ apollo/
β βββ apolloserver.ts
β βββ context.ts
β βββ formatError.ts
β βββ plugins.ts
βββ brands.ts
βββ codegen.yml
βββ constants/
β βββ brands.ts
β βββ constants.ts
β βββ filters.ts
β βββ italian.ts
βββ dictionary.ts
βββ docker-compose.yml
βββ firebase/
β βββ firebase.ts
βββ images/
βββ loaderio-04cbc2e6e8994582817d57faa8742ee5.html
βββ loadtest/
β βββ loaderio-04cbc2e6e8994582817d57faa8742ee5.html
βββ magidoc.mjs
βββ migration/
β βββ 1.ts
β βββ 2.ts
βββ mongoose/
β βββ initMongoose.ts
β βββ scripts/
β βββ generateProducts.ts
βββ nginx/
β βββ nginx.conf
βββ package.json
βββ spaces/
β βββ s3Client.ts
βββ src/
β βββ @types/
β β βββ @apollo/
β βββ app.ts
β βββ controllers/
β β βββ BetterInputGenerator.ts
β β βββ authenticateToken.ts
β β βββ canSee.ts
β β βββ checkConstants.ts
β β βββ checkDiscount.ts
β β βββ checkFirebaseErrors.ts
β β βββ checkLotQuantity.ts
β β βββ checkObjectID.ts
β β βββ checkPostCode.ts
β β βββ checkPriceV2BelowV1.ts
β β βββ convertDateToString.ts
β β βββ createPostCode.ts
β β βββ dateDiffInDays.ts
β β βββ deleteFromSpaces.ts
β β βββ email/
β β βββ errors/
β β βββ generateCode.ts
β β βββ getDiffs.ts
β β βββ getRequestedFields.ts
β β βββ getStandardItalianPrice.ts
β β βββ getStatus.ts
β β βββ greaterOrEqualThanZero.ts
β β βββ handlePriceEdit.ts
β β βββ handleUpdatedPhotos.ts
β β βββ html/
β β βββ mutations/
β β βββ queries/
β β βββ removeArticles.ts
β β βββ removeBoughtQuantityFromVariation.ts
β β βββ removeDuplicates.ts
β β βββ reverseGeocoding.ts
β β βββ streamToBlob.ts
β β βββ stripe/
β β βββ uploadToSpaces.ts
β βββ graphQL/
β β βββ admin/
β β βββ resolvers.ts
β β βββ typeDefs.ts
β β βββ types/
β β βββ user/
β βββ schemas/
β βββ Business.model.ts
β βββ Cap.model.ts
β βββ Cart.model.ts
β βββ Information.model.ts
β βββ Order.model.ts
β βββ Product.model.ts
β βββ Shop.model.ts
β βββ User.model.ts
βββ stripe/
β βββ stripe.ts
βββ tsconfig.json
βββ yarn.lock
Root
File | Summary |
---|---|
yarn.lock | The code forms a backend structure in Typescript for the "Veplo-ts" project, covering functionality for Apollo server configuration, context, error handling & plugins, constant definitions, Firebase integration, image handling, load testing, database migrations, Mongoose initialization, product generation, Nginx configuration, package dependencies, S3 client for AWS S3, and source controllers for app control and data checking & validation. Docker files for containerization are also included. |
docker-compose.yml | The code is a directory structure of a TypeScript-based application called'Veplo-ts'. It involves GraphQL for API calls with Apollo server and multiple controllers handling different functionalities. Firebase and Stripe integration is seen for the purpose of authentication and payment processing, respectively. Docker and nginx files indicate containerized deployment. Other codes manage the data with Mongoose ORM, mutations, and queries in databases. Additionally, the Docker Compose file builds an API service, restarts on failure, binds port 80 to 3000, and references an environment file. |
brands.ts | The provided code represents a JavaScript module that exports an array of brand names. It consists of a wide variety of different brand names, which can be imported into other parts of an application or system where they may be used for various purposes, such as populating a selection list, validating user input, or filtering results in a query. |
dictionary.ts | The provided code is part of the structure of a project called'Veplo-ts'. The structure includes various files related to backend features such as Apollo server, authentication, email handling, GraphQL, database models, error handling, constants, and database migration. The'dictionary.ts' file includes an exported dictionary of string arrays, potentially mapping different synonyms or translations of common terms used in the application. |
magidoc.mjs | The provided code is part of a larger project named Veplo-ts. It includes a range of functionalities such as Apollo Server setup, error formatting, plugins, various controllers (authentication, constants check, price checker, duplicacy removal etc.), MongoDB schemas, Firebase setup, Stripe payment setup, and Docker configurations. The'magidoc.mjs' file is utilized for generating API documentation, presenting details about GraphQL's types, mutations, and queries in a multi-page carbon template. |
loaderio-04cbc2e6e8994582817d57faa8742ee5.html | The code represents the directory structure of a Node.js application built with Apollo GraphQL server and Mongoose ORM. It contains functionalities for data loading, API testing, and server configuration as well as Firebase and Stripe integrations. Moreover, various utility controllers, GraphQL resolvers, type definitions and different data models are also defined. Docker files for containerization along with configuration for load testing and automatic code generation are present. |
tsconfig.json | HTTPStatus Exception: 429 |
codegen.yml | HTTPStatus Exception: 429 |
package.json | HTTPStatus Exception: 429 |
Dockerfile | HTTPStatus Exception: 429 |
Stripe
File | Summary |
---|---|
stripe.ts | HTTPStatus Exception: 429 |
createStripeAccount.ts | HTTPStatus Exception: 429 |
refund.ts | HTTPStatus Exception: 429 |
denyReturn.ts | HTTPStatus Exception: 429 |
productsNotAvailableRefund.ts | HTTPStatus Exception: 429 |
checkout.ts | HTTPStatus Exception: 429 |
handleCheckoutCompleted.ts | HTTPStatus Exception: 429 |
calculateApplicationFeeAmount.ts | HTTPStatus Exception: 429 |
handleCheckoutAsyncPaymentSuccedeed.ts | HTTPStatus Exception: 429 |
handleCheckoutAsyncPaymentFailed.ts | HTTPStatus Exception: 429 |
handleChargeRefunded.ts | HTTPStatus Exception: 429 |
handleAccountUpdated.ts | HTTPStatus Exception: 429 |
Loadtest
File | Summary |
---|---|
loaderio-04cbc2e6e8994582817d57faa8742ee5.html | HTTPStatus Exception: 429 |
Apollo
File | Summary |
---|---|
formatError.ts | HTTPStatus Exception: 429 |
apolloserver.ts | HTTPStatus Exception: 429 |
plugins.ts | HTTPStatus Exception: 429 |
context.ts | HTTPStatus Exception: 429 |
Constants
File | Summary |
---|---|
brands.ts | HTTPStatus Exception: 429 |
filters.ts | HTTPStatus Exception: 429 |
italian.ts | HTTPStatus Exception: 429 |
constants.ts | HTTPStatus Exception: 429 |
brands.ts | HTTPStatus Exception: 429 |
Nginx
File | Summary |
---|---|
nginx.conf | HTTPStatus Exception: 429 |
Mongoose
File | Summary |
---|---|
initMongoose.ts | HTTPStatus Exception: 429 |
Scripts
File | Summary |
---|---|
generateProducts.ts | HTTPStatus Exception: 429 |
Spaces
File | Summary |
---|---|
s3Client.ts | HTTPStatus Exception: 429 |
Firebase
File | Summary |
---|---|
firebase.ts | HTTPStatus Exception: 429 |
Src
File | Summary |
---|---|
app.ts | HTTPStatus Exception: 429 |
Graphql
File | Summary |
---|---|
typeDefs.ts | HTTPStatus Exception: 429 |
resolvers.ts | HTTPStatus Exception: 429 |
Types
File | Summary |
---|---|
types.ts | HTTPStatus Exception: 429 |
Shop
File | Summary |
---|---|
shop.ts | HTTPStatus Exception: 429 |
shops.ts | HTTPStatus Exception: 429 |
shopByFirebaseId.ts | HTTPStatus Exception: 429 |
shopsAutoComplete.ts | HTTPStatus Exception: 429 |
editShop.ts | HTTPStatus Exception: 429 |
createShop.ts | HTTPStatus Exception: 429 |
changeShopStatus.ts | HTTPStatus Exception: 429 |
User
File | Summary |
---|---|
user.ts | HTTPStatus Exception: 429 |
createUser.ts | HTTPStatus Exception: 429 |
editUser.ts | HTTPStatus Exception: 429 |
Cart
File | Summary |
---|---|
cart.ts | HTTPStatus Exception: 429 |
carts.ts | HTTPStatus Exception: 429 |
editCart.ts | HTTPStatus Exception: 429 |
removeFromCart.ts | HTTPStatus Exception: 429 |
addToCart.ts | HTTPStatus Exception: 429 |
deleteCart.ts | HTTPStatus Exception: 429 |
Product
File | Summary |
---|---|
product.ts | HTTPStatus Exception: 429 |
products.ts | HTTPStatus Exception: 429 |
productsAutoComplete.ts | HTTPStatus Exception: 429 |
deleteProduct.ts | HTTPStatus Exception: 429 |
createProduct.ts | HTTPStatus Exception: 429 |
editProduct.ts | HTTPStatus Exception: 429 |
changeProductsStatus.ts | HTTPStatus Exception: 429 |
Business
File | Summary |
---|---|
business.ts | HTTPStatus Exception: 429 |
isBusiness.ts | HTTPStatus Exception: 429 |
setIsBusiness.ts | HTTPStatus Exception: 429 |
Order
File | Summary |
---|---|
order.ts | HTTPStatus Exception: 429 |
orders.ts | HTTPStatus Exception: 429 |
returnedOrderHasArrived.ts | HTTPStatus Exception: 429 |
editOrder.ts | HTTPStatus Exception: 429 |
returnOrder.ts | HTTPStatus Exception: 429 |
Information
File | Summary |
---|---|
createInformation.ts | HTTPStatus Exception: 429 |
Images
File | Summary |
---|---|
uploadImages.ts | HTTPStatus Exception: 429 |
Createbusiness
File | Summary |
---|---|
createBusinessStep1.ts | HTTPStatus Exception: 429 |
Variation
File | Summary |
---|---|
createVariation.ts | HTTPStatus Exception: 429 |
editvariation.ts | HTTPStatus Exception: 429 |
deleteVariation.ts | HTTPStatus Exception: 429 |
Admin
File | Summary |
---|---|
adminCreateProduct.ts | HTTPStatus Exception: 429 |
adminSeeAllOrders.ts | HTTPStatus Exception: 429 |
adminDeleteProduct.ts | HTTPStatus Exception: 429 |
adminLostPackage.ts | HTTPStatus Exception: 429 |
adminCreateAdmin.ts | HTTPStatus Exception: 429 |
adminEditProduct.ts | HTTPStatus Exception: 429 |
adminOrderHasArrived.ts | HTTPStatus Exception: 429 |
Server
File | Summary |
---|---|
express4.d.ts | HTTPStatus Exception: 429 |
Schemas
File | Summary |
---|---|
Information.model.ts | HTTPStatus Exception: 429 |
Order.model.ts | HTTPStatus Exception: 429 |
Cart.model.ts | HTTPStatus Exception: 429 |
Product.model.ts | HTTPStatus Exception: 429 |
Business.model.ts | HTTPStatus Exception: 429 |
Cap.model.ts | HTTPStatus Exception: 429 |
Shop.model.ts | HTTPStatus Exception: 429 |
User.model.ts | HTTPStatus Exception: 429 |
Controllers
File | Summary |
---|---|
getStatus.ts | HTTPStatus Exception: 429 |
canSee.ts | HTTPStatus Exception: 429 |
BetterInputGenerator.ts | HTTPStatus Exception: 429 |
getDiffs.ts | HTTPStatus Exception: 429 |
generateCode.ts | HTTPStatus Exception: 429 |
checkPriceV2BelowV1.ts | HTTPStatus Exception: 429 |
authenticateToken.ts | HTTPStatus Exception: 429 |
dateDiffInDays.ts | HTTPStatus Exception: 429 |
checkObjectID.ts | HTTPStatus Exception: 429 |
uploadToSpaces.ts | HTTPStatus Exception: 429 |
streamToBlob.ts | HTTPStatus Exception: 429 |
checkDiscount.ts | HTTPStatus Exception: 429 |
getStandardItalianPrice.ts | HTTPStatus Exception: 429 |
getRequestedFields.ts | HTTPStatus Exception: 429 |
removeBoughtQuantityFromVariation.ts | HTTPStatus Exception: 429 |
handlePriceEdit.ts | HTTPStatus Exception: 429 |
handleUpdatedPhotos.ts | HTTPStatus Exception: 429 |
checkLotQuantity.ts | HTTPStatus Exception: 429 |
reverseGeocoding.ts | HTTPStatus Exception: 429 |
deleteFromSpaces.ts | HTTPStatus Exception: 429 |
greaterOrEqualThanZero.ts | The provided code is a part of a larger project structured to contain multiple functionalities. The specific function shared,'greaterOrEqualThanZero', takes in a number as an argument and returns'true' if the number is greater than or equal to zero, otherwise it returns'false'. This function likely serves for validating numerical inputs throughout the project. |
checkFirebaseErrors.ts | HTTPStatus Exception: 429 |
removeDuplicates.ts | HTTPStatus Exception: 429 |
createPostCode.ts | HTTPStatus Exception: 429 |
convertDateToString.ts | HTTPStatus Exception: 429 |
checkConstants.ts | HTTPStatus Exception: 429 |
removeArticles.ts | HTTPStatus Exception: 429 |
checkPostCode.ts | HTTPStatus Exception: 429 |
File | Summary |
---|---|
sendOrderReceived.ts | HTTPStatus Exception: 429 |
Queries
File | Summary |
---|---|
productById.ts | HTTPStatus Exception: 429 |
productsWithFilters.ts | HTTPStatus Exception: 429 |
businessByStripeId.ts | HTTPStatus Exception: 429 |
cartById.ts | HTTPStatus Exception: 429 |
capByCap.ts | HTTPStatus Exception: 429 |
shopById.ts | HTTPStatus Exception: 429 |
helperShopByFirebaseId.ts | HTTPStatus Exception: 429 |
businessById.ts | HTTPStatus Exception: 429 |
userById.ts | HTTPStatus Exception: 429 |
orderById.ts | HTTPStatus Exception: 429 |
Errors
File | Summary |
---|---|
customError.ts | HTTPStatus Exception: 429 |
Mutations
File | Summary |
---|---|
deleteCartById.ts | HTTPStatus Exception: 429 |
Html
File | Summary |
---|---|
getOrderReceived.ts | HTTPStatus Exception: 429 |
orderItem.ts | HTTPStatus Exception: 429 |
Dependencies
Please ensure you have the following dependencies installed on your system:
- βΉοΈ Dependency 1
- βΉοΈ Dependency 2
- βΉοΈ ...
- Clone the Veplo-ts repository:
git clone https://github.com/tommaso-merlini/Veplo-ts.git
- Change to the project directory:
cd Veplo-ts
- Install the dependencies:
npm install
npm run build && node dist/main.js
npm test
βΉοΈ Task 1: Implement X
βΉοΈ Task 2: Implement Y
βΉοΈ ...
Contributions are welcome! Here are several ways you can contribute:
- Submit Pull Requests: Review open PRs, and submit your own PRs.
- Join the Discussions: Share your insights, provide feedback, or ask questions.
- Report Issues: Submit bugs found or log feature requests for TOMMASO-MERLINI.
Click to expand
- Fork the Repository: Start by forking the project repository to your GitHub account.
- Clone Locally: Clone the forked repository to your local machine using a Git client.
git clone <your-forked-repo-url>
- Create a New Branch: Always work on a new branch, giving it a descriptive name.
git checkout -b new-feature-x
- Make Your Changes: Develop and test your changes locally.
- Commit Your Changes: Commit with a clear and concise message describing your updates.
git commit -m 'Implemented new feature x.'
- Push to GitHub: Push the changes to your forked repository.
git push origin new-feature-x
- Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
Once your PR is reviewed and approved, it will be merged into the main branch.
This project is protected under the SELECT-A-LICENSE License. For more details, refer to the LICENSE file.
- List any resources, contributors, inspiration, etc. here.