Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Proof-of-concept for building CodeBuddies V3 using Node and React

NotificationsYou must be signed in to change notification settings

codebuddies/node-concept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background:codebuddies/codebuddies#1136

Crowdsourced brainstorm of problems we want to solve:https://pad.riseup.net/p/BecKdThFsevRmmG_tqFa-keep

Proof-of-concept Goals

  • Resource CRUD

TODO:

  • User profiles
    • How easy is it to set up an editable user profile?
  • Calendar/hangouts
    • How easy would it be to make a calendar widget that lets users block out times they're free for hangouts?

Getting Started

Clone the project, runnpm install andnpm start to load up the server.If having database errors with postgres, see this guide on getting it set up:https://www.robinwieruch.de/postgres-sql-macos-setuphttps://www.robinwieruch.de/postgres-sql-windows-setup

Copy.env.example as.env in the root directory. Not necessary to change the values at this time. LeaveDATABASE_PASSWORD blank.

How to use

Once the server is up, the application is available by visiting localhost:3000 in the browser. Using RESTful paths, going to/resources will list all current resources,/resources/:resourceId will show a single resource based on ID.

Alternatively, you can use cURL to interface with application.

# returns an collection of Resource objectscurl localhost:3000/resources
# POST request to create a new Resource with a JSON payloadcurl -d'{ "title": "Some title!", "description": "Great description!" }' -H'Content-Type: application/json' localhost:3000/resources
# DELETE request to delete a resource with the resource ID of 3curl -X DELETE localhost:3000/resources/3

Findings

TBD

Technologies Used

Node, Express, Postgres, Sequelize (ORM to handle models and Postgres).

About

Proof-of-concept for building CodeBuddies V3 using Node and React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp