prive's People
prive's Issues
Create /admin/orders endpoint
Create /admin/orders
endpoint
The objective is to construct an endpoint, /admin/orders
, which will offer functionalities for viewing, creating, and updating orders. This endpoint will serve as a vital tool for administrators to manage orders efficiently.
Key features will include:
-
View Orders: The endpoint will enable administrators to view all existing orders, including crucial details pertaining to each order.
-
Create Orders: The endpoint will also include the functionality to create new orders. It will accept and validate the necessary parameters for order creation.
-
Update Orders: Administrators will be able to update existing orders. Any changes made to order details should be implemented immediately.
The successful deployment of this endpoint will streamline the procedure of order administration. All functionalities should also be well-documented and thoroughly tested to ensure seamless operation.
develop migrations for stock management
Add Vercel Web Analytics
skeleton
Research if skeleton migrating to skeleton UI would result in better development experience
produce clients page integration tests
allow to manage profile roles through ui
clear session cookies
If session is no longer valid delete session cookie on the client
Stock page improvments
Stock table
- update created_by field to reference profiles table
- update updated_by field to reference profiles table
- update length_cm field to be not null and default value 0#
- update weight_expected_grams field to be not null and default value 0
- update weight_received_grams field to be not null and default value 0
- update superforms createStockSchema to represent above changes
/stocks page
- add in table column Created By which will display creators full name
- add in table column Updated By which will display updaters full name
scripts/utils.ts
- update stock.purchased_at to use string instead of Date
- update updated_by to randomly assign updated_by field
stock page redesign
Stock page should show stock item details instead of stock edit form
incorrect supabase type declaration
Incorrect type is being inferred here.
prive/src/routes/stock/+page.server.ts
Line 14 in 78c4b35
const stock: {
id: string;
created_by: SelectQueryError<"Referencing missing column `full_name`">[];
updated_by: SelectQueryError<"Referencing missing column `full_name`">[];
}[] | null
However, data returned is correct.
Also page.svelte does not see full_name variable on returned object
prive/src/routes/stock/+page.svelte
Line 58 in 78c4b35
prive/src/routes/stock/+page.svelte
Line 59 in 78c4b35
Enable Social authentication
Disable registration on production environment
Implement logging for both successful and unsuccessful login attempts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.