
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
generator-weplajs
Advanced tools
ExpressJS ํ๋ ์์ ๊ธฐ๋ฐ์ REST API ์๋ฒ ๊ฐ๋ฐ์ ์ํ ์๋งจ ์ ๋๋ ์ดํฐ์ ๋๋ค.
๋ฒ๊ทธ๋ฆฌํฌํ ๊ณผ ์ด์๋ ์ธ์ ๋ ํ์์ ๋๋ค.๐
์ธ์ ๋ ์ง ๊นํ ์ด์์ ๋ฑ๋กํด ์ฃผ์ธ์.
weplajs
: ์ดํ๋ฆฌ์ผ์ด์
์ค์นweplajs:api
: API ์ถ๊ฐweplajs:error
: ์๋ฌ์ฝ๋ ์ถ๊ฐ๋จผ์ npm์ ์ด์ฉํด Yeoman๊ณผ generator-weplajs๋ฅผ ์ฌ๋ฌ๋ถ์ ์ปดํจํฐ์ ์ค์นํ์ธ์. node.js๋ ์ด๋ฏธ ์ค์น๋์ด ์๋ค๊ณ ๊ฐ์ ํฉ๋๋ค.
npm install -g yo
npm install -g generator-weplajs
๊ทธ๋ฆฌ๊ณ ๋์ ์ฌ๋ฌ๋ถ์ ์๋ก์ด ํ๋ก์ ํธ๋ฅผ ๋ง๋ค์ด ๋ณด์ธ์.
yo weplajs
npm start
[STARTUP_INFO] Sync Database {"force":true}
[STARTUP_INFO] Server listening on port 3000 development mode
์ด์ ๋ธ๋ผ์ฐ์ ธ์์ http://127.0.0.1:3000 ์ฃผ์์ ์ ์ํ ์ ์์ต๋๋ค.
http://127.0.0.1:3000/swagger์ ์ ์ํ์ฌ ๊ฐ๋ฐ ๋ฌธ์๋ ํ์ธํด ๋ณด์ธ์.
Mocha, Supertest๋ก API์ ์ ๋ ํ ์คํธ๋ฅผ ์คํํด ๋ณด์ธ์.
npm test
FAQs
REST API server by expressjs framework
We found that generator-weplajs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.